Skip to main content
Authenticate with Authorization: Bearer $LUNACAL_API_KEY and send JSON using POST. API key setup.
Deletes the event type row. Bookings are not deleted with it. Booking.eventTypeId is optional and the relation does not cascade, so existing bookings stay and their event type link is cleared. After this, the id cannot be used with get, update, or availability.

Body

integer
required
ID of the event type to delete.

Response

integer
ID of the deleted event type.