Skip to main content

Overview

useRemoveInvite returns a callable that removes a user’s invite. Host-only. Removing the invite revokes access to an invite-only event and also deletes that user’s RSVP (decrementing the count). Removing a non-invited user is an idempotent no-op.

Usage Example

Parameters

string
required
The event ID.
string
required
The invitee to remove.

Returns

Returns a Promise<Event> — the updated Event with refreshed rsvpCounts.

See Also