Skip to main content

Endpoint

Authentication

Requires a developer API key in the Authorization header.

Request Headers

Path Parameters

Example Request

Response — 201 Created

Response Fields

What Happens on Erasure

  1. All consent records for the data principal are set to status: 'erased'
  2. All associated grants are revoked
  3. Audit entries are annotated with an erasedAt timestamp (anonymized)
  4. A dpdp.erasure.completed event is emitted

Error Responses

SDK Examples

Last modified on July 11, 2026