Bulk GDPR delete recipients
curl --request POST \ --url https://rocketem.fotone.io/api/v2/recipients/bulk-delete \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "emails": [ "hello@example.com" ], "dry_run": false, "block": true }'Required scope: recipients:delete
Asynchronously GDPR-deletes up to 1000 recipients by email.
Returns a job ID. Daily cap: 10,000 deletions per organisation.
block: false deletes without a legal block (see DELETE /recipients).
Supports dry_run=true: synchronously searches the given emails and
reports which of them would be affected, without dispatching the delete
job. No rate-limit consumption.
Authorizations
Abschnitt betitelt „Authorizations“Parameters
Abschnitt betitelt „Parameters“Header Parameters
Abschnitt betitelt „Header Parameters“Unique key for idempotent requests. Responses cached 24h.
Request Bodyrequired
Abschnitt betitelt „Request Bodyrequired“object
Preview only — no job dispatched, no rate-limit use
Example
trueFalse deletes without a legal block; later sign-ups are accepted again
Responses
Abschnitt betitelt „Responses“Dry-run preview of what would be deleted (only when dry_run=true)
object
object
Number of submitted emails that have any data
Total records across all submitted emails
How many of the submitted emails already have a prior GDPR deletion on record
object
Storage locations the preview could not check for this email
True if a prior GDPR deletion exists for this email
Details of the prior GDPR deletion if present
object
Example generated
{ "data": { "dry_run": true, "submitted": 1, "would_affect_emails": 1, "would_affect_records": 1, "previously_deleted_count": 1, "emails": [ { "email_hash": "example", "found": true, "total_records": 1, "incomplete": [ "example" ], "previously_deleted": true, "deletion_record": {} } ] }}Bulk delete job accepted (only when dry_run=false)
object
object
Number of emails queued for deletion
Whether the queued deletions block the addresses for good
Present only when the daily delete cap truncated the batch
Present only when rejected > 0 — human-readable cause
Example generated
{ "data": { "job_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "dry_run": true, "accepted": 1, "legal_block": true, "rejected": 1, "reason": "example" }}Validation failed
object
object
object
Example
{ "error": { "code": "validation_error", "message": "The given data was invalid.", "status": 422 }}