Queries a list of organizations.
Operation description
Organizations are arranged in a tree-like structure. The root organization ID is org-aliyun-wy-org-id.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:DescribeOrgs |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MaxResults |
integer |
No |
The maximum number of entries to return. Valid values: 1 to 100. |
20 |
| NextToken |
string |
No |
The pagination token. To retrieve the next page of results, set this parameter to the |
AAAAAV3MpHK**** |
| OrgName |
string |
No |
The organization name. |
产品部 |
| ParentOrgId |
string |
No |
The parent organization ID. |
org-11fs**** |
| ShowExtras |
object |
No |
||
|
any |
No |
|||
| BusinessChannel |
string |
No |
The channel. |
ENTERPRISE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The request ID. |
0B4BB**** |
| NextToken |
string |
The token used to retrieve the next page of results. If this parameter is not empty, more results are available. To retrieve the next page, pass this value in the |
AAAAAV3MpHK**** |
| Orgs |
array<object> |
The organization list. |
|
|
array<object> |
The organization details. |
||
| OrgName |
string |
The organization name. |
设计部**** |
| OrgId |
string |
The organization ID. |
org-1mox**** |
| ParentOrgId |
string |
The parent organization ID. |
org-ezqr**** |
| OrgNamePath |
string |
||
| ResourcePolicyList |
array<object> |
||
|
object |
|||
| PolicyId |
string |
||
| PolicyName |
string |
Examples
Success response
JSON format
{
"RequestId": "0B4BB****",
"NextToken": "AAAAAV3MpHK****",
"Orgs": [
{
"OrgName": "设计部****",
"OrgId": "org-1mox****",
"ParentOrgId": "org-ezqr****",
"OrgNamePath": "",
"ResourcePolicyList": [
{
"PolicyId": "",
"PolicyName": ""
}
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.