Okta Identity Governance
/Management APIs
//
Update a label
OAuth 2.0 scope:
- okta.governance.labels.manage
Admin roles:
- SUPER_ADMIN
Updates the properties of a label
Array []
The path of the property to update. Use the /name path to update the label category name.
PATCH
- LABEL-CATEGORY
- LABEL-VALUE
- Update label category |tooltip| Request body for updating label category
- Update - add new label value |tooltip| Request body for adding label value
- Update - remove label value |tooltip| Request body for removing label value
- Update - update label value |tooltip| Request body for updating label value
curl -i -X PATCH \
'https://subdomain.okta.com/governance/api/v1/labels/{labelId}' \
-H 'Content-Type: application/json' \
-d '[
{
"op": "REPLACE",
"path": "/name",
"value": "Compliance",
"refType": "LABEL-CATEGORY"
}
]'