Queries the list of groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:ListAllGroups |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
|
No |
The business tenant code. Default value: ALICOM_OPAAS. |
ALICOM_OPAAS |
||
|
No |
The business extension information. Default value: an empty collection. |
{} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The access denied detail. |
{} |
| Message |
string |
The prompt message. |
success |
| RequestId |
string |
The ID of the request. It is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues. |
608F9CCA-B5EB-3D72-XXXXB25D6D75BDEC |
| Data |
array<object> |
The returned data. |
|
|
object |
The returned data. |
||
| GroupName |
string |
The group name. |
aaa |
| GmtCreate |
string |
The creation time. |
1789000 |
| Id |
string |
The primary key ID. |
5435 |
| Code |
string |
The request status code.
|
OK |
| Success |
boolean |
Indicates whether the operation was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "{}",
"Message": "success",
"RequestId": "608F9CCA-B5EB-3D72-XXXXB25D6D75BDEC\n",
"Data": [
{
"GroupName": "aaa",
"GmtCreate": "1789000",
"Id": "5435"
}
],
"Code": "OK",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.