Okta Admin Management API
/Admin Roles
//
Replace a resource set
OAuth 2.0 scope:
- okta.roles.manage
Replaces the label and description of a resource set. See Supported resources.
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/iam/resource-sets/{resourceSetIdOrLabel}
curl -i -X PUT \
https://subdomain.okta.com/api/v1/iam/resource-sets/iamoJDFKaJxGIr0oamd9g \
-H 'Content-Type: application/json' \
-d '{
"label": "SF-IT-People",
"description": "People in the IT department of San Francisco"
}'OK
Specifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
Response
{ "id": "iamoJDFKaJxGIr0oamd9g", "label": "SF-IT-People", "description": "People in the IT department of San Francisco", "created": "2021-02-06T16:20:57.000Z", "lastUpdated": "2021-02-06T16:20:57.000Z", "_links": { "self": { … }, "resources": { … }, "bindings": { … } } }