cURL
curl --request GET \ --url https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/{cluster_name}/config \ --header 'Authorization: <api-key>'
{ "config": "<string>", "created_at": "2024-02-15T11:53:03Z", "expires_at": "2026-02-15T11:53:03Z" }
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Project identifier
Region identifier
Cluster name
Cluster kubeconfig
The response is of type object.
object
Was this page helpful?