Skip to main content
POST
Queue an owned server OS update plan, OS update or reboot

授权

Authorization
string
header
必填

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

请求头

Idempotency-Key
string
必填
Required string length: 1 - 128

路径参数

serverId
string
必填

Canonical server runtime ID

请求体

application/json
action
enum<string>
必填
可用选项:
os_update_plan,
os_update,
reboot
expected_inventory_revision
integer<int64>
必填
必填范围: x >= 1
owner_approved
boolean

Optional legacy field; it does not grant maintenance authority.

expected_plan_digest
string

os_update only: the plan_digest of a completed os_update_plan for this server that is at most 15 minutes old.

Pattern: ^sha256:[0-9a-f]{64}$

响应

Maintenance job queued or exact durable replay returned

data
object
meta
object