Interlaken
API referenceKubernetesKubernetes clusters

Download the cluster's admin kubeconfig

GET
/api/v1/kubernetes-clusters/{id}/kubeconfig

Requires the kubernetes_clusters:read permission.

The server URL points at the cluster's API VIP on the node subnet — reachable from inside the VPC. Returns 409 until the control plane is up.

Authorization

AuthorizationBearer <token>

An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/kubernetes-clusters/string/kubeconfig"
{  "kubeconfig": "string"}