Skip to content

Delete whitelist suppressions

DELETE
/api/domains/{domain}/suppressions/whitelist

Remove whitelist suppressions by IDs

domain
required
string
Example
example.com

Domain name that must be owned by the authenticated user. The domain must be verified and properly configured for email sending.

object
ids
required

Array of suppression IDs to delete

Array<integer>
Example
[
1,
2,
3
]

Suppressions deleted successfully

object
success
boolean
Example
true
message
string
Example
Suppressions deleted successfully.
deleted_count
integer
Example
3

Unauthorized - Invalid or missing authentication credentials

object
success
boolean
message
string
Example
Unauthorized

Validation Error - Invalid input data

object
success
boolean
message
string
Example
Validation failed.
errors

Field-specific validation errors

object

Too Many Requests - Rate limit exceeded. Retry after the specified time.

object
success
boolean
message
string
Example
Too many attempts. Please try again later.
Retry-After
integer

Seconds until rate limit resets

X-RateLimit-Limit
integer

Maximum requests per minute

X-RateLimit-Remaining
integer

Remaining requests in current window

Server Error - Unexpected error occurred

object
success
boolean
message
string
Example
An error occurred while processing the request.