cURL
curl --request PUT \ --url https://console.vast.ai/api/v0/machines/{machine_id}/cancel_maint/ \ --header 'Authorization: Bearer <token>'
{ "success": true, "ctime": 123, "machine_id": 123, "msg": "deleted 1 scheduled maintenance window(s) on machine 1234" }
Cancel a scheduled maintenance window for a specified machine.
CLI Usage: vastai cancel maint <machine_id>
vastai cancel maint <machine_id>
API key must be provided in the Authorization header
ID of the machine to cancel maintenance for.
Maintenance window successfully canceled.
true
Current time in seconds since the epoch.
ID of the machine.
"deleted 1 scheduled maintenance window(s) on machine 1234"