Skip to main content

Delete Event

DELETE/v2/project/{project_key}/event/{event_id}

Soft-delete an event by setting its status to inactive. The event record is preserved in the database but will no longer appear in the Events dashboard or API list responses.

Path parameters

ParameterDescription
project_keyYour project's API key
event_idThe numeric event ID to delete

Example

curl -X DELETE "https://api-{region}.mida.so/v2/project/YOUR_PROJECT_KEY/event/9876" \
-H "Authorization: Bearer YOUR_GENERATED_API_KEY"

Success response

{
"success": true,
"event_id": 9876,
"deleted": true
}

Error responses

StatusMeaning
401Invalid or missing API key
404Event not found or belongs to a different project
Soft delete

This operation sets status = 2 on the event record. The data is not permanently removed and historical tracking data associated with this event remains intact.