Events

Delete event

Delete an event by its name. If more than one event row shares the name, they are treated as one event and every matching row is deleted.

Permissions: Requires write access to the site (manage:{site_id}).

Returns: Returns a deleted object on success. Otherwise, this call returns an error.

delete/sites/{site_id}/events

Path parameters

site_idstring required
Example:CDBUGS

The ID of the site. This is the same string you use in your tracking code. Example: CDBUGS

Query parameters

namestring required
Example:Purchase early access

The name of the event you wish to delete. Example: Purchase early access

Response

Successful response

Changes