Submit a GDPR erasure (right-to-erasure) request
POST /api/gdpr/erasure-request
Creates a pending erasure request for the required email address (valid email, up to 254 characters). The API returns 202 whether or not an account is linked; when one is linked, it emails a verification token, and erasure is scheduled only after confirmation. Invalid input returns 422; more than 10 requests per minute returns 429.
This operation needs no authentication.
Request body
application/json object
emailstring (email) requiredreasonstring
Generated sample
{
"email": "user@example.com",
"reason": "string"
}Responses
202 Request accepted
422 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string