admin

Change node status

Changed on

Change status of a node

post/nodes/{nodeID}

Request

  • Base URL
    https://api.e2b.app
  • URL
    https://api.e2b.app/nodes/{nodeID}
  • Auth
    • API key in header X-Admin-Token
    • or HTTP bearer

Path parameters

nodeIDstring required

Request body

clusterIDstring uuid

Identifier of the cluster

status'ready' | 'draining' | 'connecting' | 'unhealthy' | 'standby' | 'shutting_down' required

Status of the node.

  • standby: the node is not actively used, but it can return to ready and continue serving traffic.

Response

The node status was changed successfully

Changes