ApiPrivacy
Create Erasure
Request deletion of a customer's personal data.
Request deletion of a customer's personal data.
For processing a "right to be forgotten" request from one of your customers. The
matching stored records are deleted asynchronously, within 30 days (typically
minutes). Requires the admin role. Returns the tracking record; poll
GET /api/v1/privacy/requests/{request_id} for completion.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Header Parameters
X-API-Key?string|null
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.levainlabs.com/api/v1/privacy/erasures" \ -H "Content-Type: application/json" \ -d '{ "platform": "string" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"platform": "string",
"topic": "string",
"external_account_id": "string",
"subject_id": "string",
"status": "string",
"received_at": "2019-08-24T14:15:22Z",
"due_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z",
"rows_deleted": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}