curl -X DELETE -H "X-API-KEY: your_api_key" \
https://www.gomry.com/api/v1/events/AbCdEfGhIjKlMnOpQrSt
await fetch("https://www.gomry.com/api/v1/events/AbCdEfGhIjKlMnOpQrSt", {
method: "DELETE",
headers: { "X-API-KEY": "your_api_key" },
});
{ "deleted": true, "id": "AbCdEfGhIjKlMnOpQrSt" }
{ "error": "Event not found" }
Events
Delete Event
Soft-delete an event
DELETE
/
events
/
{eventId}
curl -X DELETE -H "X-API-KEY: your_api_key" \
https://www.gomry.com/api/v1/events/AbCdEfGhIjKlMnOpQrSt
await fetch("https://www.gomry.com/api/v1/events/AbCdEfGhIjKlMnOpQrSt", {
method: "DELETE",
headers: { "X-API-KEY": "your_api_key" },
});
{ "deleted": true, "id": "AbCdEfGhIjKlMnOpQrSt" }
{ "error": "Event not found" }
Delete Event
Soft-deletes an event. The event is hidden from the dashboard, its public page, and the List Events endpoint. The underlying record is kept, so the id stays reserved and historical reporting is unaffected. Only the primary host organization can delete an event. An event your organization merely co-hosts is not visible to your key and returns404.
Deleting does not refund tickets or notify attendees — cancel the event from the dashboard first if attendees must be told or refunded.
Deleting an event that is already deleted returns 200 again; the call is idempotent.
Requires the events:write scope.
Path Parameters
string
required
The unique identifier of the event.
Response
Returns200 OK with:
{ "deleted": true, "id": "AbCdEfGhIjKlMnOpQrSt" }
Errors
404 Event not found— the event does not exist, or is not owned by your organization (including events you co-host).403 insufficient_scope— the API key does not haveevents:write.
curl -X DELETE -H "X-API-KEY: your_api_key" \
https://www.gomry.com/api/v1/events/AbCdEfGhIjKlMnOpQrSt
await fetch("https://www.gomry.com/api/v1/events/AbCdEfGhIjKlMnOpQrSt", {
method: "DELETE",
headers: { "X-API-KEY": "your_api_key" },
});
{ "deleted": true, "id": "AbCdEfGhIjKlMnOpQrSt" }
{ "error": "Event not found" }

