Skip to main content

Delete Event

Delete an event by its event ID. This performs a soft delete, marking the event as deleted.

Endpoint

DELETE /api/events/:eventId

Headers

X-API-Key: your-api-key
Content-Type: application/json

Parameters

Path:

  • eventId (string, required) - The event ID you provided when creating the event

Response

{
"status": true,
"message": "Event deleted successfully"
}

Errors

StatusMessage
400Validation failed
401Invalid API key / Application not found
404Event not found

Example

curl -X DELETE "https://api.reeng.xyz/api/events/event-123" \
-H "X-API-Key: your-api-key" \
-H "Content-Type: application/json"

Notes

  • You can only delete events that belong to the application associated with your API key
  • Once deleted, the event cannot be used for check-ins