Okta Admin Management API
/Admin Roles
/- List all group role assignments
Group Role Assignments
Assign a role to a group
Retrieve a group role assignment
Unassign a group role
List all group role assig...
OAuth 2.0 scope:
- okta.roles.read
Lists all assigned roles of a group by groupId
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/groups/{groupId}/roles
curl -i -X GET \
'https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles?expand=targets%2Fgroups'Success
Array [
]
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": "IFIFAX2BIRGUSTQ", "label": "Application Administrator", "type": "APP_ADMIN", "status": "ACTIVE", "created": "2019-02-06T16:17:40.000Z", "lastUpdated": "2019-02-06T16:17:40.000Z", "assignmentType": "GROUP", "_links": { … } } ]