Skip to main content
DELETE
Remove Host
Removes a user from the event’s 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

string
required
UUID of the event.

Body Parameters

string
required
The host to remove.

Response

Returns the updated Event with the new hostIds.

Error Responses

See also: useRemoveHost