Events
Delete Event
Delete an event
DELETE
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/GoodnessFx/GatePass/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint requires authentication. Only the event organizer can delete their events.
Authentication
Include the JWT token in the Authorization header:Path Parameters
The unique identifier of the event to delete
Response
Confirmation message
The ID of the deleted event
Business Rules
Deletion Restrictions
Events cannot be deleted if:- There are confirmed ticket sales (orders with
COMPLETEDpayment status) - Tickets have been minted on the blockchain
- The event has already occurred
status to CANCELLED instead of deleting it.Alternative: Cancel Event
Instead of deleting an event with existing sales, update the status toCANCELLED: