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

Autorisierungen

Authorization
string
header
erforderlich

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

Header

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

Pfadparameter

serverId
string
erforderlich

Canonical server runtime ID

Body

application/json
action
enum<string>
erforderlich
Verfügbare Optionen:
os_update_plan,
os_update,
reboot
expected_inventory_revision
integer<int64>
erforderlich
Erforderlicher Bereich: 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}$

Antwort

Maintenance job queued or exact durable replay returned

data
object
meta
object