Okta Identity Governance
/Labels
Okta Identity Governance API
Campaigns
Reviews
Entitlements
Entitlement Bundles
Grants
Principal Entitlements
Principal Access
Principal Access - V2
Collections
Collections - V2
Risk Rules
Resource Owners
Principal Settings
Delegates
Security Access Reviews
Org Governance Settings
Entitlement Settings
Operations
The Labels API enables you to categorize and organize resources such as apps, groups, entitlements, and collections. You can create, update, and assign key-value labels to resources to support automation, streamline configuration, and simplify the management of access reviews and requests.
OAuth 2.0 scope:
- okta.governance.labels.manage
Admin roles:
- SUPER_ADMIN
Creates a label that includes the key name of the label and its values
- https://subdomain-okta.login.adsbillinghub.comhttps://subdomain-okta.login.adsbillinghub.com/governance/api/v1/labels
curl -i -X POST \
https://subdomain-okta.login.adsbillinghub.com/governance/api/v1/labels \
-H 'Content-Type: application/json' \
-d '{
"name": "Compliance",
"values": [
{
"name": "SOX",
"metadata": {
"additionalProperties": {
"backgroundColor": "blue"
}
}
},
{
"name": "PII",
"metadata": {
"additionalProperties": {
"backgroundColor": "yellow"
}
}
}
]
}'