Skip to main content
DELETE
Delete Event
Deletes an event. Host-only (service/master keys bypass the host check). The event’s child EventRsvps and EventInvites are cleaned up, and—depending on settings—its files. Deletion honors the project’s eventDeletion settings:
  • softDelete (default false) — when true, the event is soft-deleted (a deletedAt timestamp is set) and drops out of listings while the row is retained.
  • preserveFilesOnSoftDelete (default true) — on a soft delete, keep the event’s files. On a hard delete, files are always removed.

Path Parameters

eventId
string
required
UUID of the event to delete.

Response

Returns 204 No Content on success.

Error Responses

See also: useDeleteEvent