cURL
curl --request POST \ --url https://api.nova-cloud.ai/vms/{vm_id}/set-auto-restart \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "auto_restart": true } '
{ "message": "<string>" }
Enable or disable auto-restart for an interruptible VM.
Use a JWT access token or API key (prefixed with nv_)
Enable or disable auto-restart for interrupted VMs
Auto-restart setting updated