Skip to main content
POST
/
api
/
v0
/
deployment
/
{id}
/
stop
stop deployment
curl --request POST \
  --url https://console.vast.ai/api/v0/deployment/{id}/stop/ \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "endpoint_state": "stopped"
}

Documentation Index

Fetch the complete documentation index at: https://docs.vast.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

Deployment ID

Response

Deployment stopped successfully

success
boolean
Example:

true

endpoint_state
string
Example:

"stopped"