Remove Host
Event Endpoints
Remove Host
Revoke a user’s host privileges on an event (host-only)
DELETE
Remove Host
Removes a user from the event’s
See also: useRemoveHost
hostIds. Host-only (service/master keys bypass the check). The mutation runs under a row-level lock and enforces the at-least-one-host invariant: a removal that would leave the event with zero hosts is rejected with 409.
The target user is supplied in the request body (symmetric with Withdraw RSVP).
Path Parameters
UUID of the event.
Body Parameters
The host to remove.
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
Last Host — 409
Last Host — 409

