Skip to main content
POST
/
cluster
/
scale
Scale Cluster
curl --request POST \
  --url https://api.streamkap.com/cluster/scale \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "direction": "up"
}
'
{
  "operation_id": "<string>",
  "status": "pending",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
direction
enum<string>
required
Available options:
up,
down

Response

Successful Response

operation_id
string
required
status
enum<string>
required
Available options:
pending,
in_progress,
completed,
failed,
cancelled
message
string | null