Queries Resource Access Management (RAM) user groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:ListGroups |
get |
*Group
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Marker |
string |
No |
The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request.`` When you call the operation for the first time, if the total number of returned entries exceeds the value of |
EXAMPLE |
| MaxItems |
integer |
No |
The number of entries per page. Valid values: 1 to 100. Default value: 100. |
100 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
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. |
||
| GroupId |
string |
The ID of the RAM user group. |
g-FpMEHiMysofp**** |
| UpdateDate |
string |
The update time. |
2015-01-23T12:33:18Z |
| GroupName |
string |
The name of the RAM user group. |
Dev-Team |
| Comments |
string |
The description. |
开发团队 |
| CreateDate |
string |
The creation time. |
2015-01-23T12:33:18Z |
| IsTruncated |
boolean |
Indicates whether the response is truncated. Valid values:
|
true |
| Marker |
string |
The pagination token that is used in the next request to retrieve a new page of results. Note
This parameter is returned only when |
EXAMPLE |
Examples
Success response
JSON format
{
"RequestId": "065527AA-2F2E-AD7C-7484-F2626CFE4934",
"Groups": {
"Group": [
{
"GroupId": "g-FpMEHiMysofp****",
"UpdateDate": "2015-01-23T12:33:18Z",
"GroupName": "Dev-Team",
"Comments": "开发团队",
"CreateDate": "2015-01-23T12:33:18Z"
}
]
},
"IsTruncated": true,
"Marker": "EXAMPLE"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.