Skip to content

List all group role assignments

Request

OAuth 2.0 scope:
  • okta.roles.read

Lists all assigned roles of a group by groupId

Path
groupIdstringrequired

The id of the group

Example:00g1emaKYZTWRYYRRTSK
Query
expandstring

An optional parameter used to return targets configured for the standard role assignment in the embedded property. Supported values: targets/groups or targets/catalog/apps

Examples:
Return group targets
expand=targets/groups
Return app targets
expand=targets/catalog/apps
curl -i -X GET \
  'https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles?expand=targets%2Fgroups'

Responses

Success

Bodyapplication/json
Array [
assignmentTypestring(RoleAssignmentType)

Role assignment type

Enum ValueDescription
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

createdstring, (date-time)read-only

Timestamp when the object was created

idstringread-only

Role assignment ID

labelstringread-only

Label for the role assignment

lastUpdatedstring, (date-time)read-only

Timestamp when the object was last updated

statusstring(LifecycleStatus)

Status of the role assignment

Enum:"ACTIVE""INACTIVE"
typestring(roleType)required
Role typeDescription
ACCESS_CERTIFICATIONS_ADMINAccess Certifications Administrator IAM-based standard role
ACCESS_REQUESTS_ADMINAccess Requests Administrator IAM-based standard role
API_ACCESS_MANAGEMENT_ADMINAccess Management Administrator standard role
APP_ADMINApplication Administrator standard role
CUSTOMCustom admin role
GROUP_MEMBERSHIP_ADMINGroup Membership Administrator standard role
HELP_DESK_ADMINHelp Desk Administrator standard role
ORG_ADMINOrganizational Administrator standard role
READ_ONLY_ADMINRead-Only Administrator standard role
REPORT_ADMINReport Administrator standard role
SUPER_ADMINSuper Administrator standard role
USER_ADMINUser Administrator standard role
WORKFLOWS_ADMINWorkflows 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
_embeddedobject

Optional embedded resources for the role assignment

]
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": { … } } ]