---
title: "Delete an organization host and its stored secret"
method: DELETE
path: "/api/v0beta1/hosts/{id}"
tags: ["Hosts"]
---

# Delete an organization host and its stored secret

`DELETE /api/v0beta1/hosts/{id}`

## Request

- Base URL: `https://app.amika.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://app.amika.dev/api/v0beta1/hosts/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `wos-session`

Refused with 409 while any rig still runs on the host.

## Path parameters

- `id` string, required

## Response `204`

Host deleted.

## Other responses

- `400`: Error
- `401`: Error
- `403`: Error
- `404`: Error
- `409`: Error

## Changes

- **2026-09-30** `f9bd53246a8c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/amika/apis/amika-api/changes/api/v0beta1/hosts/:id/delete.md)

---

[API](https://skmtc.dev/amika/apis/amika-api.md) - [All operations](https://skmtc.dev/amika/apis/amika-api/llms.txt) - [OpenAPI document](https://skmtc.dev/amika/apis/amika-api/revisions/86f031a957c1?raw)
