Vast.ai API
Machines

Schedule Maintenance

1min
PUT
https://console.vast.ai/api/v0/machines/{machine_id}/dnotify

Schedules a maintenance window for a specified machine and notifies clients.

CLI Usage: vast-ai schedule maint {machine_id} --sdate {sdate} --duration {duration}

Authentication
BearerAuth
Path Parameters
machine_id
*
Body Parameters
body
*
sdate
*
duration
*
maintenance_reason
maintenance_category
Responses
200
Success response
success
you_sent
400
Bad Request
success
error
msg
404
Not Found
success
error
msg
422
Unprocessable Entity
success
error
msg
429
Too Many Requests
detail