Skip to content
Sign in Create account

Confirm a data-subject request

POST /api/gdpr/confirm/{request_id}

Confirms a data-subject request using the emailed verification token. Provide email in the JSON body or query string, and provide verification_token in the JSON body or X-Verification-Token header. The email and token are required; the token is not read from the query string. The request ID alone does not authorize the action. This route is limited to ten requests per minute.

This operation needs no authentication.

Parameters

  • request_id string path required
    Pattern: ^[a-z0-9-]+$
  • email string (email) query

    Email address used to look up the data-subject request; may also be supplied in the JSON body.

    Length: at most 254 characters
  • X-Verification-Token string header

    Use this header or verification_token in the JSON body.

    Length: 8 to 256 characters

Request body (optional)

application/json object

  • email string (email)

    Email address used to look up the data-subject request; may instead be supplied in the query string.

    Length: at most 254 characters
  • verification_token string
    Length: 8 to 256 characters

Generated sample

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

Responses

202 The request confirmation was accepted; status can describe a pending, scheduled, or processing request.

application/json object

  • deadline string or null
  • message string required
  • request_id string required
  • status string required

Generated sample

{
  "deadline": "string",
  "message": "string",
  "request_id": "string",
  "status": "string"
}
403 The email and verification token did not confirm the request.

application/json object

  • detail string required
  • error string required
    Value: "verification_failed"
409 The request was verified, but erasure could not be scheduled because other account members remain.

application/json object

  • error string required
    Value: "deletion_not_scheduled"
  • detail string required
  • message string required
422 The email or verification token failed validation.

application/json object

  • message string required
  • errors object required
    • email array of string
    • verification_token array of string
429 The route rate limit was exceeded.

Response headers

  • Retry-After string header

    Seconds until another request may be made.

  • X-RateLimit-Scope string header

    The request route and its origin share this limit.

application/json object

  • error object required
    • code string required
      Value: "too_many_attempts"
    • scope string required
      Value: "route"
    • message string required
    • retry_after_s integer required
      Range: at least 1

text/html string

503 Confirmation could not be completed because scheduling or dispatch is unavailable.

application/json any

One of

  • object
    • error string required
      Value: "deletion_not_scheduled"
    • detail string required
    • message string required
  • object
    • error string required
      Value: "dispatch_unavailable"
    • request_id string required
    • status string required
      Value: "pending"
    • message string required