Skip to main content
PUT
/
deployments
/
{deployment_id}
Update Deployment
curl --request PUT \
  --url https://api.gravixlayer.com/v1/deployments/{deployment_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "min_replicas": 2,
  "max_replicas": 10
}'

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the Gravix Layer Dashboard.

Path Parameters

deployment_id
string
required

The ID of the deployment to update

Body

application/json
min_replicas
integer
required
max_replicas
integer
required

Response

Deployment updated successfully

I