PUT
/
api
/
v0
/
machines
/
{machine_id}
/
cancel_maint
cancel maint
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

machine_id
integer
required

ID of the machine to cancel maintenance for.

Response

Maintenance window successfully canceled.

success
boolean
Example:

true

ctime
number

Current time in seconds since the epoch.

machine_id
integer

ID of the machine.

msg
string
Example:

"deleted 1 scheduled maintenance window(s) on machine 1234"