Skip to main content
PATCH
/
clusters
/
{clusterId}
/
compute_settings
Update cluster compute settings
curl --request PATCH \
  --url https://api.akua.dev/v1/clusters/{clusterId}/compute_settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "auto_scaling_enabled": true,
  "max_machines": 50
}
'
{
  "errors": [
    {
      "code": 7002,
      "message": "Resource not found",
      "path": [
        "body",
        "name"
      ],
      "metadata": {}
    }
  ],
  "result": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.akua.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens

Path Parameters

clusterId
string
required

Cluster ID

Body

application/json
auto_scaling_enabled
boolean
max_machines
number
Required range: 0 <= x <= 100

Response

Settings updated