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