Skip to content
Sign in Create account

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

  • email string (email) required
  • reason string

Generated sample

{
  "email": "user@example.com",
  "reason": "string"
}

Responses

202 Request accepted

422 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string