---
agentTools:
  projectIndex: https://devdocs.drift.com/llms.txt
---

# GDPR Deletion

Erasing data for contacts and users by email

Erase *all data* for *all contacts and users* with a given email.

This includes:

* attributes
* conversations
* messages
* ...and much more

Ensure that this is necessary for your application. You may be looking to [remove a contact instead.](https://devdocs.drift.com/docs/removing-a-contact)

[block:callout]
{
  "type": "danger",
  "title": "WARNING: Data erasure is permanent",
  "body": "This call results in permanent deletion of data from our servers and cannot be undone"
}
[/block]

[block:api-header]
{
  "title": "Overview"
}
[/block]

[block:parameters]
{
  "data": {
    "0-0": "**Method URL:**",
    "0-1": "`https://driftapi.com/gdpr/delete`",
    "1-0": "**HTTP Method:**",
    "1-1": "`POST`",
    "2-0": "**Content-Type:**",
    "2-1": "`application/json`",
    "3-0": "**Required Scopes:**",
    "3-1": "`gdpr_write`",
    "4-0": "**Arguments:**",
    "4-1": "`email` - the email of the contacts or users whose data is being erased"
  },
  "cols": 2,
  "rows": 5
}
[/block]

[block:api-header]
{
  "title": "Example"
}
[/block]

[block:code]
{
  "codes": [
    {
      "code": "// Request\n{\n  \"email\": \"abc@website.com\"\n}\n\n// Response\n{\n    \"data\": {\n        \"message\": \"Your delete is processing\"\n    }\n}\n",
      "language": "json"
    }
  ]
}
[/block]