Erase API

Under certain data protection regulations, companies that handle personal data are required to delete it upon request. With our Erase API, you can erase all data related to one or multiple users by providing email addresses or user IDs.

Good to know

  • Identify user data to be deleted using email addresses or user IDs.
  • You can send up to 50 emails or IDs in each request to delete all data connected to them.
  • All SEON API requests are case-sensitive. Please follow the formatting below to avoid errors.

Request

Request Attributes

TypeRequired
user_ids
array no
emails
array no

 

Optional query string parameters

POST

https://api.seon.io/SeonRestService/erase-api?dry_run=false

JSON Attributes

ValueRequired
dry_run
boolean no 

HTTP Endpoint

POST

https://api.seon.io/SeonRestService/erase-api/v1?dry_run=false
PHP
Generic
Generic

Response

The endpoint returns JSON structured response.

JSON Attributes

Type
transaction_records
integer
email_records
integer
phone_records
integer
ip_records
integer
dry_run
boolean
Response
{
 "success": true,
 "error": {},
 "data": {
  "transaction_records": 1,
  "email_records": 0,
  "phone_records": 0,
  "ip_records": 1,
  "dry_run": false
 }
}