Skip to main content

Retrieve a list of projects

GET /gcp/ha/metadata/projects

Retrieves a list of projects for which the user has permission.

Error

Status: Default, Default response
Name Type Required Description

projects

array[GcpProjectResponse]

True

Example error response
{
  "projects": [
    {}
  ]
}

Definitions

See Definitions

parent Hash mapping strings to string

Name Type Required Description

traversableAgain

boolean

False

empty

boolean

False

GcpProjectResponse

Name Type Required Description

isDefault

boolean

True

projectNumber

string

True

projectId

string

False

lifecycleState

string

False

name

string

False

createTime

string

False

parent

parent

True

subscriptionId

string

False