---
title: "Delete node"
method: DELETE
path: "/api/nodes/{id}"
tags: ["Nodes"]
---

# Delete node

`DELETE /api/nodes/{id}`

Removes a node from the fleet. The last local node cannot be deleted. Requires `node:manage` permission.

## Path parameters

- `id` integer, required

## Response `200`

Node deleted.

- SuccessBoolean
  - `success` boolean, required

## Other responses

- `400` — Cannot delete the only local node (or the default node).
- `403` — Insufficient permissions or license tier.
- `500` — Internal server error.

## Changes

- **2026-07-05** `866c04450812` — 1 info
  - added the non-success response with the status `400`
- **2026-06-04** `d58cf9d6195b` — 2 info
  - removed the `ADMIRAL_REQUIRED` enum value from the `code` response property for the response status `403`
  - removed the `ADMIRAL_REQUIRED` enum value from the `code` response property for the response status `500`
- **2026-04-05** `7464894ea582` — 2 warning, 2 info
  - added the new `PAID_REQUIRED` enum value to the `code` response property for the response status `403`
  - added the new `PAID_REQUIRED` enum value to the `code` response property for the response status `500`
  - removed the `PRO_REQUIRED` enum value from the `code` response property for the response status `403`
  - removed the `PRO_REQUIRED` enum value from the `code` response property for the response status `500`

[Change history](https://skmtc.dev/studio-saelix/apis/sencho-api/changes/api/nodes/:id/delete.md)

---

[API](https://skmtc.dev/studio-saelix/apis/sencho-api.md) · [All operations](https://skmtc.dev/studio-saelix/apis/sencho-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/studio-saelix/sencho-api/revisions/bebbb1754cdc/schema)
