- List all admin role group targets
- okta.roles.read
Lists all group targets for a USER_ADMIN, HELP_DESK_ADMIN, or GROUP_MEMBERSHIP_ADMIN role assignment to an admin user. If the role isn't scoped to specific group targets, an empty array [] is returned.
The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the Link response header. See Pagination and Link header.
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/users/{userId}/roles/{roleAssignmentId}/targets/groups
curl -i -X GET \
'https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/groups?after=string&limit=20'Success
Timestamp when the groups memberships were last updated
Profile for any group that is not imported from Active Directory. Specifies the standard and custom profile properties for a group.
The objectClass for these groups is okta:user_group.
You can extend group profiles with custom properties, but you must first add the properties to the group profile schema before you can reference them. Use the Profile Editor in the Admin Console or the Schemas API to manage schema extensions.
Custom properties can contain HTML tags. It is the client's responsibility to escape or encode this data before displaying it. Use best-practices to prevent cross-site scripting.
Determines how a group's profile and memberships are managed
| Enum Value | Description |
|---|---|
| APP_GROUP | Group profile and memberships are imported and must be managed within the app (such as Active Directory or LDAP) that imported the group |
| BUILT_IN | Group profile and memberships are managed by Okta and can't be modified |
| OKTA_GROUP | Group profile and memberships are directly managed in Okta via static assignments or indirectly through group rules |
Discoverable resources related to the group
[ { "created": "2019-08-24T14:15:22Z", "id": "0gabcd1234", "lastMembershipUpdated": "2019-08-24T14:15:22Z", "lastUpdated": "2019-08-24T14:15:22Z", "objectClass": [ … ], "profile": { … }, "type": "APP_GROUP", "_embedded": { … }, "_links": { … } } ]