---
title: "Quarantine Host"
method: POST
path: "/admin/hosts/{host_id}/quarantine"
---

# Quarantine Host

`POST /admin/hosts/{host_id}/quarantine`

## Request

- Base URL: `https://api.xhostd.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xhostd.com/admin/hosts/{host_id}/quarantine`
- Auth: none declared

Quarantine a host (admin): incident state, excluded everywhere.

Allowed from any state and idempotent. The only refusal is an
in-flight user move touching this host — quarantining mid-move
would strand the move halfway.

## Path parameters

- `host_id` string, uuid, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xhostd/apis/xhostd-public.md) · [All operations](https://skmtc.dev/xhostd/apis/xhostd-public/llms.txt) · [OpenAPI document](https://skmtc.dev/xhostd/apis/xhostd-public/revisions/bf439c4d1789?raw)
