---
title: "unlist machine"
method: DELETE
path: "/api/v0/machines/{machine_id}/asks/"
tags: ["Machines"]
---

# unlist machine

`DELETE /api/v0/machines/{machine_id}/asks/`

Removes all 'ask' type offer contracts for a specified machine, effectively unlisting it from being available for rent.

CLI Usage: `vastai unlist machine <id>`

## Path parameters

- `machine_id` integer, required

## Response `200`

Success response

- object
  - `success` boolean
  - `machine_id` integer
  - `user_id` integer

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `429` — Too Many Requests

---

[API](https://skmtc.net/vast/apis/vast-ai-api.md) · [All operations](https://skmtc.net/vast/apis/vast-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vast/vast-ai-api/revisions/4ed14f79f796/schema)
