Okta Identity Governance
/Management APIs
//
Create a label
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
POST
curl -i -X POST \
https://subdomain.okta.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"
}
}
}
]
}'