Skip to main content
PATCH
/
v1
/
accounts
/
{account_id}
/
deployments
/
{deployment_id}
:scale
Scale Deployment to a specific number of replicas or to zero
curl --request PATCH \
  --url https://api.fireworks.ai/v1/accounts/{account_id}/deployments/{deployment_id}:scale \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "replicaCount": 123
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>

Path Parameters

account_id
string
required

The Account Id

deployment_id
string
required

The Deployment Id

Body

application/json
replicaCount
integer

The desired number of replicas.

Response

200 - application/json

A successful response.

The response is of type object.