List the scope permissions granted by a Resource Server to user accounts using cursor-based pagination.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:ListUsersForResourceServer |
list |
*Application
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| NextToken |
string |
No |
The token for the next page. Set this parameter to the value of NextToken returned by the previous API call. |
NTxxxxxexample |
| ApplicationId |
string |
Yes |
The ID of the Resource Server application. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| MaxResults |
integer |
No |
The number of entries per page for paged queries. |
20 |
| Filter |
array<object> |
No |
A list of filter conditions. |
|
|
object |
No |
A filter condition. |
||
| Name |
string |
No |
The name of the filter condition. |
UserIds |
| Value |
array |
No |
A list of values for the filter condition. |
|
|
string |
No |
A value for the filter condition. |
user_mkv7rgt4d7i4u7zqtzev2mxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
The total number of entries in the list. |
100 |
| NextToken |
string |
The token for the next page. |
NTxxxexample |
| Users |
array<object> |
A list of user accounts. |
|
|
array<object> |
Information about a user account. |
||
| InstanceId |
string |
The ID of the instance. |
idaas_qsw77zl5vrllwzyrrfwbmpxxxx |
| UserId |
string |
The ID of the user account. |
user_nbsomva32b6utec3hgi7scxxxx |
| ResourceServerScopes |
array<object> |
A list of granted scope permissions. |
|
|
object |
Information about a scope permission. |
||
| ResourceServerScopeId |
string |
The ID of the scope permission. |
ress_nbte4bb3qqqnaq73rlmkqixxxx |
| ResourceServerScopeName |
string |
The name of the scope permission. |
Read All User |
| MaxResults |
integer |
The number of entries per page for paged queries. |
20 |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"NextToken": "NTxxxexample",
"Users": [
{
"InstanceId": "idaas_qsw77zl5vrllwzyrrfwbmpxxxx",
"UserId": "user_nbsomva32b6utec3hgi7scxxxx",
"ResourceServerScopes": [
{
"ResourceServerScopeId": "ress_nbte4bb3qqqnaq73rlmkqixxxx",
"ResourceServerScopeName": "Read All User"
}
]
}
],
"MaxResults": 20
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.