Kubernetes Clusters

Get Kubernetes Cluster Kubeconfig

Changed on

Retrieves the kubeconfig file for a Kubernetes cluster. The kubeconfig is only available once the cluster is fully provisioned.

Note: Only users with the owner, administrator, or collaborator role can access cluster credentials. Users with the billing role cannot perform this action.

get/kubernetes_clusters/{kubernetes_cluster_id}/kubeconfig

Request

  • Base URL: https://api.latitude.sh
  • URL: https://api.latitude.sh/kubernetes_clusters/{kubernetes_cluster_id}/kubeconfig
  • Auth: API key in header Authorization

Path parameters

kubernetes_cluster_idstring required

The cluster ID (format: kc_<hash>) or cluster name. Both formats are accepted for backward compatibility.

Response

Success

Changes