Skip to main content
PATCH
/
api
/
svc
/
v1
/
apps
/
{id}
/
scale-to-zero
Pause an Application
curl --request PATCH \
  --url https://{controlPlaneURL}/api/svc/v1/apps/{id}/scale-to-zero \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 123,
  "message": "<string>",
  "code": 123,
  "details": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Id of the application

Response

Scales the number of replicas of the application deployment to 0