cURL
curl --request DELETE \ --url https://console.vast.ai/api/v0/machines/{machine_id}/asks/ \ --header 'Authorization: Bearer <token>'
{ "success": true, "machine_id": 123, "user_id": 456 }
Removes all ‘ask’ type offer contracts for a specified machine, effectively unlisting it from being available for rent.
CLI Usage: vastai unlist machine <id>
vastai unlist machine <id>
API key must be provided in the Authorization header
The ID of the machine to unlist.
Success response
true
123
456