Remove a suppression

Remove an address from a suppression list with the wemail API so it can receive mail again. Bounce and complaint entries can be removed once the cause is fixed.

Removes the address from the given list so future sends to it are delivered again. Removing a complaints entry should be rare — repeated complaints damage sender reputation.

DELETE /v3/suppressions/{type}/{address}

Responses

StatusDescription
200Removed. { message: "Suppression entry removed" }.
401Missing or invalid API key.
404No matching suppression entry.

Code examples

cURL
curl -X DELETE https://api.wemail.io/v3/suppressions/{type}/{address} \
  -H "Authorization: Bearer afn_live_…"
Node.js
const res = await fetch("https://api.wemail.io/v3/suppressions/{type}/{address}", {
  method: "DELETE",
  headers: {
    Authorization: `Bearer ${process.env.WEMAIL_API_KEY}`,
  },
});
const data = await res.json();
Python
import os, requests

r = requests.delete(
    "https://api.wemail.io/v3/suppressions/{type}/{address}",
    headers={"Authorization": f"Bearer {os.environ['WEMAIL_API_KEY']}"},
)
data = r.json()