Okta Admin Management API
/Admin Roles
/- Retrieve a group role assignment
Group Role Assignments
List all group role assignments
Assign a role to a group
Unassign a group role
Retrieve a group role ass...
OAuth 2.0 scope:
- okta.roles.read
Retrieves a role assigned to a group (identified by the groupId). The roleAssignmentId is the unique identifier for either a standard role group assignment object or a custom role resource set binding object.
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/groups/{groupId}/roles/{roleAssignmentId}
curl -i -X GET \
https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles/JBCUYUC7IRCVGS27IFCE2SKOSuccess
Role assignment type
| Enum Value | Description |
|---|---|
| USER | The role is assigned to a user |
| GROUP | The role is assigned to a group |
| CLIENT | The role is assigned to a client app |
| Role type | Description |
|---|---|
| ACCESS_CERTIFICATIONS_ADMIN | Access Certifications Administrator IAM-based standard role |
| ACCESS_REQUESTS_ADMIN | Access Requests Administrator IAM-based standard role |
| API_ACCESS_MANAGEMENT_ADMIN | Access Management Administrator standard role |
| APP_ADMIN | Application Administrator standard role |
| CUSTOM | Custom admin role |
| GROUP_MEMBERSHIP_ADMIN | Group Membership Administrator standard role |
| HELP_DESK_ADMIN | Help Desk Administrator standard role |
| ORG_ADMIN | Organizational Administrator standard role |
| READ_ONLY_ADMIN | Read-Only Administrator standard role |
| REPORT_ADMIN | Report Administrator standard role |
| SUPER_ADMIN | Super Administrator standard role |
| USER_ADMIN | User Administrator standard role |
| WORKFLOWS_ADMIN | Workflows Administrator IAM-based standard role |
Enum:"ACCESS_CERTIFICATIONS_ADMIN""ACCESS_REQUESTS_ADMIN""API_ACCESS_MANAGEMENT_ADMIN""APP_ADMIN""CUSTOM""GROUP_MEMBERSHIP_ADMIN""HELP_DESK_ADMIN""ORG_ADMIN""READ_ONLY_ADMIN""REPORT_ADMIN"
Discriminator
Specifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification.
Response
{ "id": "grasraHPx7i79ajaJ0g3", "label": "Organization Administrator", "type": "ORG_ADMIN", "status": "ACTIVE", "created": "2019-02-27T14:56:55.000Z", "lastUpdated": "2019-02-27T14:56:55.000Z", "assignmentType": "GROUP", "_links": { "assignee": { … } } }