Skip to Content
SendlySendly
API ReferenceEvents

Delete an event name and every event recorded under it

DELETE
/api/events/{eventName}

Delete an event name and every event recorded under it. Check get_event_usage first: workflows and segments that use it stop matching.

Requires the events:write scope — Record custom events for your contacts.

headerAuthorizationBearer <API Key>

API key authentication. Use a sk_* (FULL) or pk_* (SENDING_ONLY) key as the bearer token. Public keys (pk_*) are restricted to the email-send endpoints and the self-serve list subscribe/unsubscribe pair; every other endpoint — event tracking included — answers 403 for them. In scope terms (used by /api/v1/* operations): FULL keys hold every scope; SENDING_ONLY keys hold only emails:send.

eventName*string

Response Body

OK

application/json
  1. response
[key: string]?unknown
Example Request
curl -X DELETE 'https://api.sendly.now/api/events/string'
Example Response
{  "property1": null,  "property2": null}