Add Host
Event Endpoints
Add Host
Grant a user host privileges on an event (host-only)
POST
Add Host
Adds a user to the event’s
See also: useAddHost
hostIds. Host-only — the caller must already be a host (service/master keys bypass this). The operation is idempotent (adding an existing host is a no-op) and takes a row-level lock to serialize concurrent host changes.
There is no requirement that the target be a space member or invitee — any user can be made a host.
Path Parameters
UUID of the event.
Body Parameters
The user to grant host on the event.
Response
Returns the updated Event with the newhostIds.
Error Responses
Not Found — 404
Not Found — 404
Forbidden (not a host) — 403
Forbidden (not a host) — 403

