---
title: "Change node status"
method: POST
path: "/nodes/{nodeID}"
tags: ["admin"]
---

# Change node status

`POST /nodes/{nodeID}`

Change status of a node

## Path parameters

- `nodeID` string, required

## Request body

- NodeStatusChange
  - `clusterID` string, uuid — Identifier of the cluster
  - `status` 'ready' | 'draining' | 'connecting' | 'unhealthy' | 'standby', required — Status of the node. - draining: the node is bound to be shut down. It will not accept new sandboxes and will stop once all existing sandboxes are done. - standby: the node is not actively used, but it can return to ready and continue serving traffic.

## Response `204`

The node status was changed successfully

## Other responses

- `401` — Authentication error
- `404` — Not found
- `409` — Conflict
- `500` — Server error

---

[API](https://skmtc.net/e2b-dev/apis/e2b-api.md) · [All operations](https://skmtc.net/e2b-dev/apis/e2b-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/e2b-dev/e2b-api/versions/11a0e23ec7ab/schema)
