Vast.ai API
Instances

Stop an instance

1min
PUT
https://console.vast.ai/api/v0/instances/{id}/

Stops a running container and updates its status to 'stopped'.

CLI Usage: vastai stop instance

Authentication
BearerAuth
Path Parameters
id
*
Body Parameters
body
*
state
*
Responses
200
Instance stop initiated successfully
success
msg
400
Bad Request
All Of
Error +
success
error
msg
401
Unauthorized
success
error
msg
404
Not Found
success
error
msg
429
Too Many Requests
detail