Skip to main content

List Ancestors (AWS) - Legacy

For AWS only. 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.

Path Parameters
  • account_id string required

    Account ID

Request Body required

Cloud Account JSON

  • property name* object
Responses

success


Schema
  • Array [
  • ancestors object[]

    List of ancestors

  • Array [
  • displayName string

    Display name

  • hasChild boolean

    Possible values: [true, false]

    Has Child

  • id string

    Node ID

  • parent string

    Parent

  • type string

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

    Node type

  • ]
  • resourceId string

    Resource ID

  • responseCode int32

    Response code

  • status string

    Status

  • ]
Loading...