Queries the directory structure of the resource organization under a resource directory by using the multi-account management feature.
Operation description
Call this operation by using the management account of the resource directory or the delegated administrator account of Security Center.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetRdTree |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PlainResult |
||
| Data |
object |
The processing result. |
|
| FolderId |
string |
The ID of the folder in the resource directory. |
fd-CGA73I**** |
| FolderName |
string |
The folder name. |
Root |
| Children |
array |
The child folders. |
|
|
any |
The child node structure, which is the same as the parent node structure. |
{ "children": [ { "folderName": "345****", "folderId": "fd-3T3LR6N****" } ], "folderName": "123****", "folderId": "fd-rEdk0a8***" } |
|
| RequestId |
string |
The request ID. Alibaba Cloud generates a unique identifier for each API request. You can use this ID to troubleshoot issues. |
30CBF632-109F-596F-97F2-451C8B2A**** |
Examples
Success response
JSON format
{
"Data": {
"FolderId": "fd-CGA73I****",
"FolderName": "Root",
"Children": [
"{\n \"children\": [\n {\n \"folderName\": \"345****\",\n \"folderId\": \"fd-3T3LR6N****\"\n }\n ],\n \"folderName\": \"123****\",\n \"folderId\": \"fd-rEdk0a8***\"\n}"
]
},
"RequestId": "30CBF632-109F-596F-97F2-451C8B2A****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.