Skip to main content

Remove all domains from suppression list

Description

Removes all email domains from a suppression list.

Request URL

Method: POST

https://example.com/api/v1.1/suppresses/domains_remove

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format.
By default – json
idint1YesSuppression list ID

Request example

{
"id": 1,
"token": "abcdefghijklmnqrstuvwxyz"
}

Response example

{
"error": 0,
"error_text": "Successful operation",
"removed_count": 100
}

Response parameters

ParameterTypeDescription
errorintError code
error_textstringError text
removed_countintNumber of domains removed