Delete an event name and its eventsMenu

Delete an event name and its events

DELETE/v1/events/catalog/{name}

Requires an API key with the events:delete scope. About keys and scopes

Works with integration and partner keys, not agent keys.

A repeat after success returns 404 or 409: treat that as done. About idempotency

Deletes the name and every event tracked under it, for a name sent by mistake; it cannot be undone. A name defined but never sent just leaves the catalogue. The name leaves the catalogue and the limit at once, and its events are removed within the hour; until then tracking it returns 409 CONFLICT, and deleting it again 404. A name that a journey, segment, campaign, conversion goal or active workspace goal reads is refused with 409 IN_USE, naming them in details.usedBy in the summary's shape. contact.* names are recorded by Kirora and cannot be deleted; Ordered Product goes with Order Completed.

Path parameters

namestringrequired

The event name, exactly as it is tracked, URL-encoded (Order%20Completed).

pattern ^\P{Cc}+$ · 1–128 characters

Header parameters

Kirora-Workspacestringoptional

Partner keys only: the child workspace to act in, by the external id the partner gave it. Without it, a partner key acts in its own workspace. Any other key that sends it is refused with 403, and an unknown workspace is 404.

pattern ^[A-Za-z0-9._:-]{1,128}$

Returns

Returns 202 Accepted. It can also return 409 Conflict; see the statuses below. Otherwise returns an error; Errors lists every code and which to retry.

  • 202 AcceptedThe name is gone; its events are removed within the hour.
  • 409 ConflictThe request conflicts with current state — a duplicate unique value, or a resource whose status does not allow this operation.