Skip to main content

Update a cluster

PATCH/v1/warehouses/{warehouseId}/clusters/{clusterId}Try it
View request and response examples ↓

Updates a Cluster.

Use this endpoint to rename a Cluster, adjust vCPU or cache capacity, or update auto-pause settings. Do not combine vCPU scaling and cache expansion in the same request. Cache expansion is irreversible. Increasing vCPU capacity may also increase cache capacity proportionally.

Authorization

X-API-Keystring · headerrequired

API key for /v1 requests.

Path parameters

warehouseIdstringrequired

Warehouse ID.

clusterIdstringrequired

Cluster ID.

Headers

RequestIdstringrequired

Idempotency key for write requests.

Use a globally unique UUID or similar token for each logical write request. Never reuse a RequestId across different operations or payloads. You can safely retry the same RequestId only when the method, path, path parameters, query string, and request body are identical.

Minimum length1
Example8f6b0c2e-6a9a-4f2e-9c4c-0a1f9a2b7d31

Request body

application/jsonrequired
namestring | null

Updated Cluster display name. Must start with a letter. Up to 32 characters. Supports letters (case insensitive), numbers, and underscores.

Maximum length32
Pattern^[A-Za-z][A-Za-z0-9_]{0,31}$
Exampleanalytics_sql_cluster_renamed
computeVcpuinteger | null

Updated Cluster compute capacity in vCPUs.

Do not combine vCPU scaling and cache expansion in the same request. Increasing vCPU capacity may also increase cache capacity proportionally.

cacheGbinteger | null

Updated Cluster cache capacity in GB.

Cache expansion is irreversible and should not be combined with vCPU scaling in the same request.

autoPauseobject
Child fields
enabledbooleanrequired

Whether automatic pause is enabled.

Idle time in minutes before the Cluster can be paused automatically. When provided, the value must be greater than or equal to 1. This field is required when enabled is true.

Minimum1
Example10

Response

Cluster update request submitted successfully.

application/json
successbooleanrequired

Indicates whether the request succeeded.

Exampletrue
requestIdstringrequired

Request ID returned by the server for tracing.

Examplereq-20260402-001
dataobjectrequired

Empty success payload.

Additional propertiesnone

Enter to send · Shift+Enter for a new line