curl --request PATCH \
--url https://api.cnap.tech/v1/clusters/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "staging",
"region_id": "<string>"
}
'{
"id": "j572abc123def456",
"name": "production",
"workspace_id": "j572abc123def456",
"region_id": "j572abc123def456",
"kaas": {
"version": "v1.30",
"status": "RUNNING",
"status_message": null
},
"created_at": 123
}Update cluster name or region. The region must be in the same workspace.
curl --request PATCH \
--url https://api.cnap.tech/v1/clusters/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "staging",
"region_id": "<string>"
}
'{
"id": "j572abc123def456",
"name": "production",
"workspace_id": "j572abc123def456",
"region_id": "j572abc123def456",
"kaas": {
"version": "v1.30",
"status": "RUNNING",
"status_message": null
},
"created_at": 123
}Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://dash.cnap.tech/account/tokens
Cluster ID
Updated cluster
"j572abc123def456"
"production"
"j572abc123def456"
"j572abc123def456"
Present if cluster is KaaS-managed
Show child attributes
Unix timestamp (seconds)