Zum Inhalt springen

Remove email from suppression list

DELETE
/suppression
Code sample: Shell / cURL
curl --request DELETE \
--url https://rocketem.fotone.io/api/v2/suppression \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "email": "hello@example.com", "dry_run": false }'

Required scope: suppression:write

Removes an email from the suppression list. Protected entries cannot be removed — ‘legal’ (GDPR deletion), ‘robinson’ and ‘block_all’ return 409 Conflict. A failed write returns 503.

Supports dry_run=true: reports whether the email is on the suppression list and whether it is removable, without removing it.

Idempotency-Key
string
<= 255 characters

Unique key for idempotent requests. Responses cached 24h.

Media typeapplication/json
object
email
required
string format: email
dry_run

Preview only — no suppression removed

boolean

Dry-run preview (only when dry_run=true)

Media typeapplication/json
object
data
object
dry_run
boolean
email_found
boolean
would_remove
boolean
reason

Suppression reason (bounce/complaint/unsubscribe/legal)

string
nullable
protected

True if the entry cannot be removed (legal block, Robinson-list entry or ‘block_all’)

boolean

Example generated

{
"data": {
"dry_run": true,
"email_found": true,
"would_remove": true,
"reason": "example",
"protected": true
}
}

Suppression entry removed (only when dry_run=false)

Resource not found

Media typeapplication/json
object
error
object
code
string
message
string
status
integer

Example generated

{
"error": {
"code": "example",
"message": "example",
"status": 1
}
}

Cannot remove a protected suppression entry — legal, robinson or block_all (only when dry_run=false)

Media typeapplication/json
object
error
object
code
string
message
string
status
integer

Example generated

{
"error": {
"code": "example",
"message": "example",
"status": 1
}
}