Skip to main content
The GDPR Erasure API permanently deletes all records associated with a specific customer across all data tables. This supports GDPR Article 17 (right to erasure). The deletion runs inside a single database transaction to ensure atomicity. Admin only.

Base path


Erase customer data

Permanently deletes all data linked to a customer ID within the tenant. The operation is transactional — if any table deletion fails, the entire operation is rolled back.

Request body

Example request

Response 200

Response fields

Error codes

This operation is irreversible. All interaction history, summaries, suppressions, decision traces, attribution results, variant assignments, identity links, journey enrollments, and dynamic schema rows for the customer are permanently deleted. An audit log entry is created to record the erasure event.

Audit trail

Every erasure request is logged with:
  • Action: gdpr_erasure
  • Entity type: customer
  • Entity ID: The erased customer ID
  • Changes: The deletedCounts breakdown

Data categories affected

Dynamic schema table erasure queries each active customer-type schema’s underlying table for rows where customer_id matches. If the table does not have a customer_id column, it is skipped silently.

Role requirements