GCPListAccounts
Lists GCP projects accessible with the provided OAuth session. When 'gcpOrganizationId' is provided, discovery is scoped to that GCP organization: results include projects directly under the organization and projects nested under its descendant folders, and a 400 is returned if the ID is malformed or returned no projects. When 'gcpOrganizationId' is omitted, all active projects the OAuth principal can access are returned regardless of organization. System-generated projects (IDs prefixed 'sys-') and projects pending deletion are excluded in both cases.
Request
- Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
- URL: https://api.pulumi.com/api/esc/cloudsetup/{orgName}/oauth/gcp/accounts
- Auth: none declared
Path parameters
The organization name
Query parameters
Optional GCP numeric organization ID. When provided, results are scoped to projects directly under this organization and projects nested under its descendant folders; when omitted, all accessible projects are returned. Find it in the Google Cloud console under IAM & Admin > Settings.
The OAuth session identifier. Required; returns 400 when missing.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.