Okta Admin Management API
/Admin Roles
//
Retrieve all user role go...
OAuth 2.0 scope:
- okta.roles.read
Retrieves the governance sources of 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
curl -i -X GET \
https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO/governanceSuccess
Specifies link relations (see Web Linking) available for the sources using the JSON Hypertext Application Language specification.
Response
{ "grants": [ { … }, { … } ], "_links": { "self": { … }, "assignee": { … } } }