PATCH /api/docks/{id}
- Gate:
session - Read-only:
false - Destructive:
false - Idempotent:
false
Partially updates a Dock’s name, address, coordinates, or access mode. Only fields present in the body are validated and applied. Use this for owner-side edits (rename, relocate, re-home the network via accessMode) — not for command/control of the physical hardware, which is a separate future surface. Only an admin of the owning org may call it; id resolves by slug or cuid.
PATCH /api/docks/{id}sessionfalsefalsefalse200 — The updated dock.rooftop400 — One of the provided fields failed validation.401 — Not signed in.403 — Demo mode is read-only, or the caller is not an admin of the owning org.404 — No dock matches that slug/id.429 — Too many requests from this IP.