Skip to main content
POST
/
suppressions
/
batch
/
remove
# Remove by email
curl -X POST 'https://api.resend.com/suppressions/batch/remove' \
     -H 'Authorization: Bearer re_xxxxxxxxx' \
     -H 'Content-Type: application/json' \
     -d $'{
  "emails": ["steve.wozniak@gmail.com", "bill.gates@microsoft.com"]
}'

# Remove by id
curl -X POST 'https://api.resend.com/suppressions/batch/remove' \
     -H 'Authorization: Bearer re_xxxxxxxxx' \
     -H 'Content-Type: application/json' \
     -d $'{
  "ids": ["e169aa45-1ecf-4183-9955-b1499d5701d3"]
}'
{
  "data": [
    {
      "object": "suppression",
      "id": "e169aa45-1ecf-4183-9955-b1499d5701d3",
      "deleted": true
    }
  ]
}
The Suppressions API is currently in private beta and only available to a limited number of users. APIs might change before GA.Get in touch if you’re interested in testing this feature.

Body Parameters

Provide either emails or ids, but not both.
emails
array
The email addresses to remove from the suppression list. Must contain between 1 and 100 email addresses.
ids
array
The suppression IDs to remove from the suppression list. Must contain between 1 and 100 IDs.
# Remove by email
curl -X POST 'https://api.resend.com/suppressions/batch/remove' \
     -H 'Authorization: Bearer re_xxxxxxxxx' \
     -H 'Content-Type: application/json' \
     -d $'{
  "emails": ["steve.wozniak@gmail.com", "bill.gates@microsoft.com"]
}'

# Remove by id
curl -X POST 'https://api.resend.com/suppressions/batch/remove' \
     -H 'Authorization: Bearer re_xxxxxxxxx' \
     -H 'Content-Type: application/json' \
     -d $'{
  "ids": ["e169aa45-1ecf-4183-9955-b1499d5701d3"]
}'
{
  "data": [
    {
      "object": "suppression",
      "id": "e169aa45-1ecf-4183-9955-b1499d5701d3",
      "deleted": true
    }
  ]
}