Privacy
Data-subject erasure requests. Reference for API version 2026-11-11.
On this page
Request erasure
POST
/api/v1/gdpr/deletion-requests File a data-subject erasure request for review. Idempotent; an existing open request is returned instead of a duplicate.
Authentication
- API key in X-API-Key
- API key or session token in Authorization: Bearer
Request body
reasonstring or null- Maximum length
2000
Responses
200The request.Body (application/json)
successbooleanrequestobject or null2 fields in
requestidstringstatusstring- One of
pendingapprovedcompletedfailedrejected
429A per-user limit was exceeded (the Platform API, embeddings or rerank). This response does not use the error envelope. Wait forRetry-Afterseconds.Headers
X-Request-IDstringThe request's correlation id (yours, or one BreachLine generated). Quote it to support.
Retry-AfterintegerSeconds to wait before retrying.
Body (application/json)
detailstring Requiredretry_afterinteger Required- Always
60
Example
curl -X POST "https://api.breachline.io/api/v1/gdpr/deletion-requests" \
-H "Authorization: Bearer $BREACHLINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
{
"success": true,
"request": {
"id": "string",
"status": "pending"
}
}
Get your erasure request
GET
/api/v1/gdpr/deletion-requests/me Authentication
- API key in X-API-Key
- API key or session token in Authorization: Bearer
Responses
200Your most recent request, ornull.Body (application/json)
successbooleanrequestobject or null2 fields in
requestidstringstatusstring- One of
pendingapprovedcompletedfailedrejected
429A per-user limit was exceeded (the Platform API, embeddings or rerank). This response does not use the error envelope. Wait forRetry-Afterseconds.Headers
X-Request-IDstringThe request's correlation id (yours, or one BreachLine generated). Quote it to support.
Retry-AfterintegerSeconds to wait before retrying.
Body (application/json)
detailstring Requiredretry_afterinteger Required- Always
60
Example
curl "https://api.breachline.io/api/v1/gdpr/deletion-requests/me" \
-H "Authorization: Bearer $BREACHLINE_API_KEY"
{
"success": true,
"request": {
"id": "string",
"status": "pending"
}
}