curl --request GET \
--url https://api.ubicloud.com/project/{project_id}/location/{location}/kubernetes-cluster/{kubernetes_cluster_reference}/kubeconfig \
--header 'Authorization: Bearer <token>'{
"error": {
"code": 401,
"message": "There was an error logging in",
"type": "InvalidCredentials",
"details": {}
}
}curl --request GET \
--url https://api.ubicloud.com/project/{project_id}/location/{location}/kubernetes-cluster/{kubernetes_cluster_reference}/kubeconfig \
--header 'Authorization: Bearer <token>'{
"error": {
"code": 401,
"message": "There was an error logging in",
"type": "InvalidCredentials",
"details": {}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the project
"pjkkmx0f2vke4h36nk9cm8v8q0"
The Ubicloud location/region
"eu-central-h1"
Kubernetes cluster ID or name Resource ID or name
A Kubernetes Cluster configuration file