Queries Resource Access Management (RAM) user groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:ListGroups |
list |
*Group
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Marker |
string |
No |
The |
EXAMPLE |
| MaxItems |
integer |
No |
The number of entries to return. If a response is truncated because it reaches the value of Valid values: 1 to 100. Default value: 100. |
100 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
065527AA-2F2E-AD7C-7484-F2626CFE4934 |
| Groups |
object |
||
| Group |
array<object> |
The information about the RAM user groups. |
|
|
object |
The information about the RAM user group. |
||
| DisplayName |
string |
The display name of the RAM user group. |
Dev-Team |
| GroupId |
string |
The ID of the RAM user group. |
740317625433843**** |
| UpdateDate |
string |
The update time. |
2020-10-19T12:33:18Z |
| GroupName |
string |
The name of the RAM user group. |
dev-team |
| Comments |
string |
The description. |
开发团队 |
| CreateDate |
string |
The creation time. |
2020-10-19T12:33:18Z |
| IsTruncated |
boolean |
Indicates whether the response is truncated. Valid values:
|
true |
| Marker |
string |
The |
EXAMPLE |
Examples
Success response
JSON format
{
"RequestId": "065527AA-2F2E-AD7C-7484-F2626CFE4934",
"Groups": {
"Group": [
{
"DisplayName": "Dev-Team",
"GroupId": "740317625433843****",
"UpdateDate": "2020-10-19T12:33:18Z",
"GroupName": "dev-team",
"Comments": "开发团队",
"CreateDate": "2020-10-19T12:33:18Z"
}
]
},
"IsTruncated": true,
"Marker": "EXAMPLE"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.