Skip to main content

List Ancestors (GCP)

For GCP only. Lists the ancestors of the given projects and folders for the specified cloud account ID. A successful response returns an array of projects and/or folders each of which is mapped to an array of ancestor resource IDs.

The body parameters resourceIds are required.

Path Parameters
  • cloud_type string required

    Possible values: [gcp]

    Cloud Type

  • account_id string required

    Account ID

Request Body required

Cloud service provider resource IDs

  • resourceIds string[]

    Array of resource IDs (Subscription and/or Management Group IDs)

Responses

success


Schema
  • Array [
  • displayName string

    Display name

  • hasChild boolean

    true = Has child

  • id string

    Node ID

  • parent string

    Parent

  • type string

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

    Node type

  • ]
Loading...