API reference/suppressions
Remove a suppression entry
DELETE/api/v1/email/suppressions/{suppressionId}
- authentication
- Secret API key as a bearer token
- billing
- Free.
Deletes one entry so the address is verified fresh the next time a list, bulk or monitor run meets it. An entry that belongs to another account answers 404.
Parameters
| name | in | type | description |
|---|---|---|---|
| suppressionIdrequired | path | integer | The entry's id from the list endpoint. |
Example request
curl -X DELETE https://spaw.co/api/v1/email/suppressions/9041 \ -H "Authorization: Bearer sk_live_…"
Responses
200The entry was removed.
{
"success": true
}401The key is missing, malformed, or revoked.
{
"success": false,
"error": {
"code": "UNAUTHENTICATED",
"message": "Provide a valid API key as a bearer token.",
"request_id": "req_01m1kgdm4xngzmbmff68g94w0c"
}
}404No such record on this account.
{
"message": "Not Found"
}429Over 5 requests per second for the key. Retry after the limit resets.
{
"success": false,
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests. Retry after the limit resets.",
"request_id": "req_01m1kgdm4xngzmbmff68g94w0c"
}
}Error codes
Failures answer { success: false, error: { code, message, request_id } }. Each code has its own page.