Skip to main content
PATCH
Set Node State

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

fleet_id
string
必填
node_id
string
必填

请求体

application/json
state
enum<string>
必填
可用选项:
active,
draining,
cordoned

响应

Successful Response

id
string
必填
fleet_id
string
必填
state
string
必填
connection
string
必填
address
string
默认值:""
inventory
Inventory · object
node_version
string
默认值:""
protocol
integer
默认值:0
issued_by
string
默认值:""
joined_from
string
默认值:""
last_seen_at
string | null
last_error
string
默认值:""
created_at
string | null