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
Responses
- 200
- 400
- 404
- 412
success
bad_request / unauthorized_access
invalid_account_id_format
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