Okta Identity Governance
/Management APIs
//
Remove the labels from re...
OAuth 2.0 scope:
- okta.governance.labels.manage
Admin roles:
- SUPER_ADMIN
Removes the specified label values from resources
Note: If you create a custom admin role for assigning and unassigning labels to resources, ensure that the custom role has permissions to edit the resource and governance labels. For example, to unassign labels from apps, the custom admin role must have the
okta.apps.manageand theokta.governance.labels.managepermissions.
POST
curl -i -X POST \
https://okta-subdomain.pixtulate.com/governance/api/v1/resource-labels/unassign \
-H 'Content-Type: application/json' \
-d '{
"resourceOrns": [
"orn:okta:idp:00o11edPwGqbUrsDm0g4:apps:oidc:0oafxqCAJWWGELFTYASJ",
"orn:okta:directory:00o11edPwGqbUrsDm0g4:groups:00g10ctakVI6XlTdk0g4",
"orn:okta:governance:00o11edPwGqbUrsDm0g4:entitlement-bundles:enbogpaj3XUzcM62u1d6",
"orn:okta:governance:00o11edPwGqbUrsDm0g4:collections:cologpaj3XUzcM62u1d6",
"orn:okta:governance:00o11rndFqmZ5rNfs0g4:entitlement-values:ent63C22YQoNMWOJf0g2"
],
"labelValueIds": [
"lblo3v6xlwdtEX2il1d2"
]
}'