Query the list and basic information of all team shared drives in the enterprise cloud drive.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:DescribeCloudDriveGroups |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| CdsId |
string |
Yes |
The ID of the cloud disk in Cloud Drive Service. |
cn-shanghai+cds-135515**** |
| GroupId |
array |
No |
The team ID. |
|
|
string |
No |
The team ID. |
cg-i1ruuudp92qpj**** |
|
| GroupName |
string |
No |
The team name for fuzzy search. |
测试团队1 |
| ParentGroupId |
string |
No |
The ID of the parent node. If a parent node ID is specified, the subnodes are queried. If you set the value of this parameter to root, the root node is queried. Default value: null. The default value indicates that all nodes are queried. |
cg-e70ga4ixp30ur**** |
| DriveStatus |
string |
No |
The team space status. Valid values:
Default value: enabled. Valid values:
|
enabled |
| GroupType |
string |
No |
The team type.
Default value: null. The default value indicates that all types of teams are queried. Valid values:
|
org |
| DriveType |
string |
Yes |
Specifies whether the space is increased.
Default value: null. The default value indicates that all spaces are queried. Valid values:
|
binding |
| DirectoryId |
string |
No |
The workspace ID. |
cn-hangzhou+dir-jedbpr4sl9l37**** |
| DirectoryName |
string |
No |
The workspace name. |
testDirectoryName |
| MaxResults |
integer |
No |
The number of entries to return on each page.
|
10 |
| NextToken |
string |
No |
The pagination token that is used in the next request to retrieve a new page of results. |
AAAAAV3MpHK1AP0pfERHZN5pu6lY3I2VNHLwy+nIoSXh**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. |
AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL**** |
| RequestId |
string |
The request ID. |
EF015AE5-B30A-5189-B519-735CEE40**** |
| Count |
integer |
The total number of entries returned. |
0 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| CloudDriveGroups |
array<object> |
The list of team spaces. |
|
|
array<object> |
|||
| Status |
string |
The team space status. Valid values:
Default value: enabled. Valid values:
|
enabled |
| GroupId |
string |
The team ID. |
cg-e70ga4ixp30ur**** |
| GroupName |
string |
The name of the team space. |
测试团队1 |
| DirectoryId |
string |
The workspace ID. |
cn-hangzhou+dir-959593**** |
| DriveId |
string |
The team space ID. |
sh1234 |
| CreateTime |
string |
The time when the team space was created. |
2022-04-11T07:44:21Z |
| TotalSize |
integer |
The total capacity of the team space. |
5368709120 |
| UsedSize |
string |
The capacity of the used space. Unit: bytes. |
1024000000 |
| RecycleBinSize |
string |
Size of the recycle bin for the team space. Unit: Byte. |
1024000 |
| AdminUserIds |
string |
List of group administrators. |
["user01"] |
| OrgId |
string |
Organization ID of the team. |
org-aliyun-wy-org-id |
| AdminUserInfos |
array<object> |
Administrator information for the group space. |
|
|
object |
|||
| EndUserId |
string |
Administrator username (may be unreadable when imported from a third party). |
user01 |
| NickName |
string |
Administrator nickname. |
张三 |
| RealNickName |
string |
Administrator nickname. |
张三 |
| Remark |
string |
Remark. |
张三 |
| Phone |
string |
Phone number. |
12345678 |
|
string |
Mailbox. |
123@aliyun.com |
|
| JobNumber |
string |
Job number (DingTalk) |
12345 |
Examples
Success response
JSON format
{
"NextToken": "AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****",
"RequestId": "EF015AE5-B30A-5189-B519-735CEE40****",
"Count": 0,
"Success": true,
"CloudDriveGroups": [
{
"Status": "enabled",
"GroupId": "cg-e70ga4ixp30ur****",
"GroupName": "测试团队1",
"DirectoryId": "cn-hangzhou+dir-959593****",
"DriveId": "sh1234",
"CreateTime": "2022-04-11T07:44:21Z",
"TotalSize": 5368709120,
"UsedSize": "1024000000",
"RecycleBinSize": "1024000",
"AdminUserIds": "[\"user01\"]",
"OrgId": "org-aliyun-wy-org-id",
"AdminUserInfos": [
{
"EndUserId": "user01",
"NickName": "张三",
"RealNickName": "张三",
"Remark": "张三",
"Phone": "12345678",
"Email": "123@aliyun.com",
"JobNumber": "12345"
}
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.