Skip to main content

Overview

useCancelEvent returns a callable that cancels an event by setting its status to "cancelled". Host-only. The event stays fetchable but rejects new RSVPs. When the notifications bundle is enabled, all going/maybe attendees receive an event-cancelled notification.

Usage Example

Parameters

string
required
The event to cancel.

Returns

Returns a Promise<Event> — the Event with status: "cancelled".

See Also