---
title: "GET /api/v1/providers/gcp/{dc}/zones"
method: GET
path: "/api/v1/providers/gcp/{dc}/zones"
tags: ["gcp"]
---

# GET /api/v1/providers/gcp/{dc}/zones

`GET /api/v1/providers/gcp/{dc}/zones`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/docs/api/v1/providers/gcp/:dc/zones/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists available GCP zones

## Path parameters

- `dc` string, required

## Headers

- `ServiceAccount` string
- `Credential` string

## Response `200`

GCPZoneList

- GCPZone[]
  - `name` string

## Other responses

- `default`: errorResponse

---

[API](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api.md) - [All operations](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/revisions/815b9bf19db5?raw)
