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

Autorizaciones

Authorization
string
header
requerido

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

Encabezados

Idempotency-Key
string
requerido
Required string length: 1 - 128

Parámetros de ruta

serverId
string
requerido

Canonical server runtime ID

Cuerpo

application/json
action
enum<string>
requerido
Opciones disponibles:
os_update_plan,
os_update,
reboot
expected_inventory_revision
integer<int64>
requerido
Rango requerido: 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}$

Respuesta

Maintenance job queued or exact durable replay returned

data
object
meta
object