List the scope permissions granted from a Resource Server to groups, using cursor-based pagination.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:ListGroupsForResourceServer |
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 used to retrieve the next page of results. 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 maximum number of entries to return per page for a paged query. |
20 |
| Filter |
array<object> |
No |
A list of filter conditions. |
|
|
object |
No |
A filter condition. |
||
| Name |
string |
No |
The name of the filter condition. |
GroupIds |
| Value |
array |
No |
A list of values for the filter condition. |
|
|
string |
No |
A value for the filter condition. |
group_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 used to retrieve the next page of results. |
NTxxxexample |
| Groups |
array<object> |
A list of groups. |
|
|
array<object> |
Information about a group. |
||
| InstanceId |
string |
The ID of the instance. |
idaas_qsw77zl5vrllwzyrrfwbmpxxxx |
| GroupId |
string |
The ID of the group. |
group_nbsomva32b6utec3hgi7scxxxx |
| ResourceServerScopes |
array<object> |
A list of scope permissions granted to the group. |
|
|
object |
Information about a scope permission. |
||
| ResourceServerScopeId |
string |
The ID of the scope permission. |
ress_nbte4bb3qqqnaq73rlmkqixxxx |
| ResourceServerScopeName |
string |
The name of the scope permission. |
获取资源信息 |
| MaxResults |
integer |
The maximum number of entries returned per page for a paged query. |
20 |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"NextToken": "NTxxxexample",
"Groups": [
{
"InstanceId": "idaas_qsw77zl5vrllwzyrrfwbmpxxxx",
"GroupId": "group_nbsomva32b6utec3hgi7scxxxx",
"ResourceServerScopes": [
{
"ResourceServerScopeId": "ress_nbte4bb3qqqnaq73rlmkqixxxx",
"ResourceServerScopeName": "获取资源信息"
}
]
}
],
"MaxResults": 20
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.