Skip to main content

Retrieves a list of GCP regions

GET 

https://api.spectrocloud.com/v1/clouds/gcp/projects/:project/regions

Retrieves a list of GCP regions

Request

Path Parameters

    project stringrequired

    Project Name for which GCP zones are requested

Query Parameters

    cloudAccountUid stringrequired

    Uid for the specific GCP cloud account

Header Parameters

    ProjectUid string

    Scope the request to the specified project uid

Responses

(empty)

Schema

    regions

    object[]

  • Array [

  • namestring

    GCP region name

    statusstring

    GCP region status

  • ]

curl -L -X GET 'https://api.spectrocloud.com/v1/clouds/gcp/projects/:project/regions' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>'
Request Collapse all
Base URL
https://api.spectrocloud.com
Auth
Parameters
— pathrequired
— queryrequired
— header