ByCloud Docs
GuidesCLIAPISDK
patch/v1/kubernetes/clusters/{cluster_id}

Update Kubernetes cluster

Update a Kubernetes cluster (e.g., scale nodes)

Path Parameters

cluster_id

string<uuid>required

path

Kubernetes Cluster ID

Example: "550e8400-e29b-41d4-a716-446655440000"

Request Body

required

Content-Type: application/json

node_count

integeroptional

New worker node count (for scaling)

Responses

202

Cluster update initiated

Content-Type: application/json

cluster

objectoptional
400

Invalid request parameters

Content-Type: application/json

error

objectrequired
401

Authentication required or token invalid

Content-Type: application/json

error

objectrequired
404

Resource not found

Content-Type: application/json

error

objectrequired
409

Cluster is not in updatable state

Content-Type: application/json

error

objectrequired
500

Internal server error

Content-Type: application/json

error

objectrequired
curl -X PATCH "https://api.spo1.mycloud.com/v1/kubernetes/clusters/550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"node_count": 1
}'