---
title: "Remove a device"
method: DELETE
path: "/api/v1/devices/{id}"
tags: ["Devices"]
---

# Remove a device

`DELETE /api/v1/devices/{id}`

## Request

- Base URL: `https://saltapp.ai`
- URL: `https://saltapp.ai/api/v1/devices/{id}`
- Auth: API key in header `api-key`

Owner or root only. Ends every live session on it first, then removes the account.

## Path parameters

- `id` string, required

## Response `204`

Removed.

## Other responses

- `401`: Missing or invalid credentials.
- `404`: Unknown, not yours, or the feature is off.

---

[API](https://skmtc.dev/saltapp/apis/salt-agent-api.md) · [All operations](https://skmtc.dev/saltapp/apis/salt-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/saltapp/apis/salt-agent-api/revisions/a8b8642ab7f8?raw)
