Skip to main content
PATCH
Update Fleet

授权

Authorization
string
header
必填

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

路径参数

fleet_id
string
必填

请求体

application/json

kind and delivery are absent on purpose: both are facts about the machines rather than settings, and re-pointing a live Fleet at another delivery would relocate where every running job writes.

capabilities
enum<string>[] | null
可用选项:
train,
serve,
env
visibility
enum<string> | null
可用选项:
public,
project
project
string | null
state
enum<string> | null
可用选项:
active,
draining,
disabled
description
string | null
config
Config · object | null

响应

Successful Response

id
string
必填
kind
string
必填
delivery
string
必填
visibility
string
必填
state
string
必填
capabilities
string[]
project
string
默认值:""
description
string
默认值:""
created_by
string
默认值:""
created_at
string | null
updated_at
string | null
node_counts
Node Counts · object