Okta Admin Management API
/Admin Roles
//
Retrieve the user role go...
OAuth 2.0 scope:
- okta.roles.read
Retrieves the resources of a governance source (identified by grantId) for a role (identified by roleAssignmentId) that's assigned to a user (identified by userId)
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/users/{userId}/roles/{roleAssignmentId}/governance/{grantId}/resources
curl -i -X GET \
https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO/governance/iJoqkwx50mrgX4T9LcaH/resourcesSuccess
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
{ "resources": [ { … }, { … } ], "_links": { "next": { … }, "self": { … } } }