get
/v1/kubernetes/clusters/{cluster_id}/kubeconfigGet cluster kubeconfig
Get the kubeconfig file for a Kubernetes cluster
Path Parameters
cluster_id
string<uuid>requiredpath
Kubernetes Cluster ID
Example: "550e8400-e29b-41d4-a716-446655440000"
Responses
200
Kubeconfig content
Content-Type: application/json
kubeconfig
stringoptionalBase64-encoded kubeconfig file content
401
Authentication required or token invalid
Content-Type: application/json
error
objectrequired404
Resource not found
Content-Type: application/json
error
objectrequired409
Cluster is not ready
Content-Type: application/json
error
objectrequired500
Internal server error
Content-Type: application/json
error
objectrequiredcurl -X GET "https://api.spo1.mycloud.com/v1/kubernetes/clusters/550e8400-e29b-41d4-a716-446655440000/kubeconfig" \-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \-H "Content-Type: application/json"