cURL
curl --request PUT \ --url https://console.vast.ai/api/v0/instances/reboot/{id}/ \ --header 'Authorization: Bearer <token>'
{ "success": true }
Stops and starts a container without losing GPU priority. Updates container status to ‘rebooting’ and executes docker stop/start commands on the host machine.
CLI Usage: vastai reboot instance <id>
vastai reboot instance <id>
API key must be provided in the Authorization header
ID of the instance to reboot
Instance reboot initiated successfully
true