Skip to main content

List Ancestors (AWS)

POST 

/cas/v1/aws_account/:account_id/ancestors

Lists the ancestors of the given member accounts and organizational units (OUs) for the specified cloud account ID. A successful response returns an array of accounts and/or OUs each of which is mapped to an array of ancestor resource IDs.

Request

Path Parameters

    account_id stringrequired

    Account ID

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

    resourceIds string[]required

    Array of resource IDs (account IDs and/or OU IDs)

Responses

success

Schema
  • Array [
  • resourceId string

    Resource ID

    ancestors object[]

    List of ancestors

  • 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

  • ]
  • status string

    Status

    responseCode int32

    Response code

  • ]
Loading...