Docs

Purge Events

PATCH /Events/purge

PATCH/Events/purge

Marks many events for deletion, active or archived alike. Marked events disappear from reads and cannot be changed, and a maintenance purge removes their data after a retention window. Ids that are unknown, in another organization or already marked are skipped without an error. Needs an organization token holding Event.Manage on every event sent (at the organization, the event's location or the event); one refused event refuses the whole call. Use Events_ArchiveEvents when the events should stay restorable. The event ids come from Organizations_GetEvents.

Request Body

FieldTypeRequiredDescription
eventIdsuuid[]Optional