---
title: "Delete the account's hosted machine"
method: DELETE
path: "/api/managed/allocation"
tags: ["nodes"]
---

# Delete the account's hosted machine

`DELETE /api/managed/allocation`

## Request

- Base URL: `https://app.nerdit.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.nerdit.ai/api/managed/allocation`
- Auth: none declared

Delete the account's hosted machine and unlink its node. No undo.

``202`` while the provider delete is owed (``deleting``), ``200`` once
nothing is left (``deleted``). Idempotent: a repeat changes nothing and
writes no audit row. Deliberately no payment and no standing check:
a lapsed or suspended owner must still be able to stop the cost.

## Response `200`

Deleted: nothing left to delete at the provider

- ManagedAllocationView: One hosted machine's progress, without any provider detail.
  - `id` string, uuid, required
  - `state` string, required
  - `failure_code` string, nullable, required
  - `node_id` string, uuid, nullable, required
  - `created_at` string, date-time, required
  - `ready_at` string, date-time, nullable, required
  - `kind` 'paid' | 'trial', required
  - `expires_at` string, date-time, nullable, required
  - `sleeps_after_idle_minutes` integer, nullable, required

## Other responses

- `202`: Successful Response
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/nerdit/apis/nerdit-cloud-web.md) · [All operations](https://skmtc.dev/nerdit/apis/nerdit-cloud-web/llms.txt) · [OpenAPI document](https://skmtc.dev/nerdit/apis/nerdit-cloud-web/revisions/06e3b44b58be?raw)
