GET /api/v1/users/{userId}/roles/{roleIdOrEncodedRoleId}/targets
Retrieves all role targets for an APP_ADMIN, USER_ADMIN, HELP_DESK_ADMIN, or GROUP_MEMBERSHIP_ADMIN role assignment to an admin user by user or group assignment type.
If the role isn't scoped to specific group targets or any app targets, an empty array [] is returned.
Servers
- https://{yourOktaDomain}
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
userId |
String | Yes |
ID of an existing Okta user |
roleIdOrEncodedRoleId |
String | Yes |
The |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit |
Integer | No |
A limit on the number of objects to return Default value: 20 |
assignmentType |
String | No |
Specifies the assignment type of the user Valid values:
|
after |
String | No |
The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.