List Children of Parent (AWS) - Legacy
For AWS only. Lists all the children of the given parent organizational unit (OU).The listed children include both OU resources and account resources.
Path Parameters
Parent OU ID
Query Parameters
The page token to request the next page of accounts. The response from a previous request provides this token. If the token has characters outside the ASCII character set, URL encode the token before using it to make a request.
Total number of accounts to return. An accountFetchCount of 0 returns a nextPageToken but no accounts.
The page token to request next set of OUs. The response from a previous request provides this token. If the token has characters outside the ASCII character set, URL encode the token before using it to make a request.
Total number of OUs to return. An ouFetchCount of 0 returns a nextPageToken but no OUs.
Request Body required
Cloud Account JSON
- 200
- 400
- 500
success
Schema
- Array [
- ]
Next page token for account
Next page token for Organizational Unit
response object[]
List of node info
Display name
Possible values: [true
, false
]
Has Child
Node ID
Parent
Possible values: [ORG
, FOLDER
, PROJECT
, SUBSCRIPTION
, MANAGEMENT_GROUP
, TENANT
, ACCOUNT
, OU
]
Node type
{
"accountNextPageToken": "string",
"ouNextPageToken": "string",
"response": [
{
"displayName": "string",
"hasChild": true,
"id": "string",
"parent": "string",
"type": "ORG"
}
]
}
permission_error / bad_request
internal_error