Skip to main content
PUT
/
deploy
/
{deploy_id}
Deploy Update
curl --request PUT \
  --url https://api.example.com/deploy/{deploy_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "settings": {
    "min_instances": 1,
    "max_instances": 1
  }
}
'
{
  "deploy_id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Headers

xi-api-key
string | null

Path Parameters

deploy_id
string
required

Body

application/json
settings
ScaleSettings · object
required

Response

Successful Response

deploy_id
string
required

Deploy Id

Example:

"fkj843kjh8"