Queries the list of user groups by calling the ListGroups operation.
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 token for querying the next page of results. You do not need to specify If the total number of returned entries exceeds the |
EXAMPLE |
| MaxItems |
integer |
No |
The maximum number of entries per page. Valid values: 1 to 100. Default value: 100. |
100 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
065527AA-2F2E-AD7C-7484-F2626CFE4934 |
| Groups |
object |
||
| Group |
array<object> |
The user group information. |
|
|
object |
The user group information. |
||
| GroupId |
string |
The user group ID. |
g-FpMEHiMysofp**** |
| UpdateDate |
string |
The update time in UTC. The time is in the |
2015-01-23T12:33:18Z |
| GroupName |
string |
The user group name. |
Dev-Team |
| Comments |
string |
The comment. |
Development team |
| CreateDate |
string |
The creation time in UTC. The time is in the |
2015-01-23T12:33:18Z |
| IsTruncated |
boolean |
Indicates whether the returned results are truncated. Valid values:
|
true |
| Marker |
string |
The token for querying the next 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": "Development team",
"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.