Provider

Set a node's operator lifecycle status (drain / maintenance / remove / online)

PATCH
/v1/orgs/{orgId}/provider/nodes/{nodeId}
AuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer vl_….

In: header

Path Parameters

orgId*string
nodeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/orgs/string/provider/nodes/string" \  -H "Content-Type: application/json" \  -d '{    "status": "online"  }'
{
  "id": "string",
  "hostname": "string",
  "nodeType": "string",
  "tdxEnabled": true,
  "status": "string",
  "cpuModel": "string",
  "cpuCores": 0,
  "ramGb": 0,
  "createdAt": "string",
  "locationCity": "string",
  "locationCountry": "string",
  "gpus": [
    {
      "gpuName": "string",
      "vramGb": 0,
      "quantity": 0
    }
  ]
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}