List Children of Parent (AWS)
POST/cas/v1/aws_account/:parent_id/children
For AWS only. Lists all the children of the given parent organizational unit (OU).The listed children include both OU resources and account resources.
Request
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.
- application/json
Body
required
Cloud Account JSON
AWS Account ID
True to enable ingestion of logs to Prisma Cloud. The default value is True. \n NOTE: Ingestion will be stopped if enabled is set to False
Name
AWS Role ARN
Possible values: [organization
]
Cloud Account Type
Specify whether to use tenantExternalId, the default is false
Responses
- 200
- 400
- 412
success
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
response object[]
List of node info
Node ID
Possible values: [ORG
, FOLDER
, PROJECT
, SUBSCRIPTION
, MANAGEMENT_GROUP
, TENANT
, ACCOUNT
, OU
]
Node type
Display name
Parent
Possible values: [true
, false
]
Has Child
Next page token for account
Next page token for Organizational Unit
{
"response": [
{
"id": "string",
"type": "ORG",
"displayName": "string",
"parent": "string",
"hasChild": true
}
],
"accountNextPageToken": "string",
"ouNextPageToken": "string"
}
permission_error / bad_request
external_id_empty_or_not_generated. To generate CFT and externalId call Generate and Download the AWS CFT Template endpoint or Generate the AWS CFT Template Link Endpoint