Skip to main content

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_id stringrequired

    Parent OU ID

Query Parameters

    accountNextPageToken string

    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.

    accountFetchCount int32

    Total number of accounts to return. An accountFetchCount of 0 returns a nextPageToken but no accounts.

    ouNextPageToken string

    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.

    ouFetchCount int32

    Total number of OUs to return. An ouFetchCount of 0 returns a nextPageToken but no OUs.

Body

required

Cloud Account JSON

    accountId stringrequired

    AWS Account ID

    enabled boolean

    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 string

    Name

    roleArn stringrequired

    AWS Role ARN

    accountType stringrequired

    Possible values: [organization]

    Cloud Account Type

    useTenantExternalId boolean

    Specify whether to use tenantExternalId, the default is false

Responses

success

Schema
    response object[]

    List of node info

  • Array [
  • id string

    Node ID

    type string

    Possible values: [ORG, FOLDER, PROJECT, SUBSCRIPTION, MANAGEMENT_GROUP, TENANT, ACCOUNT, OU]

    Node type

    displayName string

    Display name

    parent string

    Parent

    hasChild boolean

    Possible values: [true, false]

    Has Child

  • ]
  • accountNextPageToken string

    Next page token for account

    ouNextPageToken string

    Next page token for Organizational Unit

Loading...