DescribeGroups
Queries user groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:DescribeGroups |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
string |
No |
The ID of the user group. |
ug-16nf7xxh4o9gc**** |
| BizType |
string |
No |
Note
This parameter is not publicly available. |
ENTERPRISE |
| SolutionId |
string |
No |
Note
This parameter is not publicly available. |
co-0esnf80jab*** |
| GroupName |
string |
No |
The name of the user group. |
TestGroup |
| PageSize |
integer |
No |
The number of entries to return on each page in paging Settings for a paged query. Maximum value: 100. Default value: 10. |
10 |
| PageNumber |
integer |
No |
The page number for paging in a paged query. |
1 |
| TransferFileNeedApproval |
boolean |
No |
Specifies whether file approval is enabled. |
false |
| LoginPolicyId |
string |
No |
The ID of the associated login policy used for filtering. |
|
| ExcludeAttachedLoginPolicyGroups |
boolean |
No |
Specifies whether to exclude user groups that are associated with login policies. |
|
| IdpId |
string |
No |
The ID of the identity provider (IdP) used to filter user groups. |
idp-hlyexfvwert9m8**** |
| BusinessChannel |
string |
No |
The business channel. |
ENTERPRISE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data structure. |
||
| RequestId |
string |
The ID of the request. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
| Groups |
array<object> |
The list of user groups. |
|
|
array<object> |
The user group information. |
||
| GroupName |
string |
The name of the user group. |
TestGroup |
| GroupId |
string |
The ID of the user group. |
ug-2412ojkwtybd**** |
| Description |
string |
The description of the user group. |
A test group. |
| CreateTime |
string |
The time when the user group was created. The time follows the ISO 8601 standard in the UTC+8 time zone. |
2025-08-07T13:40:40+08:00 |
| UserCount |
integer |
The number of members in the user group. |
20 |
| TransferFileNeedApproval |
boolean |
Specifies whether file approval is enabled. |
false |
| AttachedLoginPolicy |
object |
The login policy associated with the user group. |
|
| PolicyId |
string |
The ID of the login policy. |
|
| Name |
string |
The logon Policy Name. |
|
| AuthedResources |
object |
The list of assigned resources. |
|
|
string |
The assigned resource. Valid values:
|
DesktopGroup |
|
| UploadNeedApproval |
boolean |
Indicates whether approval is required for uploads. |
|
| DownloadNeedApproval |
boolean |
Indicates whether approval is required for downloads. |
|
| Count |
integer |
The total number of returned results. |
1 |
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"Groups": [
{
"GroupName": "TestGroup",
"GroupId": "ug-2412ojkwtybd****",
"Description": "A test group.",
"CreateTime": "2025-08-07T13:40:40+08:00",
"UserCount": 20,
"TransferFileNeedApproval": false,
"AttachedLoginPolicy": {
"PolicyId": "",
"Name": ""
},
"AuthedResources": {
"key": "DesktopGroup"
},
"UploadNeedApproval": false,
"DownloadNeedApproval": false
}
],
"Count": 1
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.