---
title: "Disable Forward Node"
method: POST
path: "/admin/forward-nodes/{node_id}/disable"
---

# Disable Forward Node

`POST /admin/forward-nodes/{node_id}/disable`

## 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/forward-nodes/{node_id}/disable`
- Auth: none declared

Drain the node: no NEW allocation lands on it.

Existing allocations keep resolving — draining is a two-step
operator flow (disable, then unexpose the stragglers), never a
silent mass disconnect.

## Path parameters

- `node_id` string, uuid, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- ForwardNodeInfo
  - `id` string, uuid, required
  - `name` string, required
  - `hostname` string, required
  - `port_range_start` integer, required
  - `port_range_end` integer, required
  - `enabled` boolean, required
  - `allocated_count` integer, required
  - `capacity` integer, required
  - `created_at` string, date-time, required

## 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)
