Skip to main content
GET
/
v1
/
clusters
/
{id}
/
kubeconfig
Get cluster kubeconfig
curl --request GET \
  --url https://api.cnap.tech/v1/clusters/{id}/kubeconfig \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://dash.cnap.tech/account/tokens

Path Parameters

id
string
required

Cluster ID

Response

Admin kubeconfig

Kubeconfig as JSON

{key}
unknown