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_idstring path requiredPattern:^[a-z0-9-]+$emailstring (email) queryEmail address used to look up the data-subject request; may also be supplied in the JSON body.
Length: at most 254 charactersX-Verification-Tokenstring headerUse this header or
verification_tokenin the JSON body.Length: 8 to 256 characters
Request body (optional)
application/json object
emailstring (email)Email address used to look up the data-subject request; may instead be supplied in the query string.
Length: at most 254 charactersverification_tokenstringLength: 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
deadlinestring or nullmessagestring requiredrequest_idstring requiredstatusstring 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
detailstring requirederrorstring requiredValue:"verification_failed"
409 The request was verified, but erasure could not be scheduled because other account members remain.
application/json object
errorstring requiredValue:"deletion_not_scheduled"detailstring requiredmessagestring required
422 The email or verification token failed validation.
application/json object
messagestring requirederrorsobject requiredemailarray of stringverification_tokenarray of string
429 The route rate limit was exceeded.
Response headers
Retry-Afterstring headerSeconds until another request may be made.
X-RateLimit-Scopestring headerThe request route and its origin share this limit.
application/json object
errorobject requiredcodestring requiredValue:"too_many_attempts"scopestring requiredValue:"route"messagestring requiredretry_after_sinteger requiredRange: at least 1
text/html string
503 Confirmation could not be completed because scheduling or dispatch is unavailable.
application/json any
One of
- object
errorstring requiredValue:"deletion_not_scheduled"detailstring requiredmessagestring required
- object
errorstring requiredValue:"dispatch_unavailable"request_idstring requiredstatusstring requiredValue:"pending"messagestring required