Skip to main content

Retrieve all the labels for a project ID and zone

Retrieves all of the labels for a specific project ID and zone. Use this to view the available labels associated with the specified project and zone.

HTTP method and endpoint

GET /gcp/vsa/metadata/tag-keys

Parameters

Name Type In Required Description

projectId

string

query

False

zone

string

query

False

Error

Status: Default, Default response
Name Type Required Description

key

string

True

values

array[string]

True

Example error response
{
  "key": "string",
  "values": [
    "string"
  ]
}