cURL
curl --request DELETE \ --url https://console.vast.ai/api/v0/machines/{machine_id}/defjob/ \ --header 'Authorization: Bearer <token>'
{ "success": true, "machine_id": 12345, "user_id": 67890 }
Deletes the default job (background instances) for a specified machine.
CLI Usage: vastai remove defjob <machine_id>
vastai remove defjob <machine_id>
API key must be provided in the Authorization header
ID of the machine to remove the default job from.
12345
Success response
true
67890