POST /api/docks
- Gate:
session - Read-only:
false - Destructive:
false - Idempotent:
false
Creates a new Dock owned by the caller’s org, finding-or-creating a Site for the given address. Use this to onboard a new physical dock into a host’s fleet; only an admin of the owning org may call it (viewers are read-only) and demo sessions are rejected. accessMode defaults to open and determines which network the dock is placed in (its own private net, or the shared open net); changing it later is a PATCH, not a re-create.
POST /api/dockssessionfalsefalsefalse201 — The created dock.rooftop400 — name/address/latitude/longitude/pricePerMinute/accessMode failed validation.401 — Not signed in.403 — Demo mode is read-only, or the caller is not an admin of any org.429 — Too many requests from this IP.