Remove email from suppression list
Description
Removes an email address from a suppression list.
Request URL
Method: POST
https://example.com/api/v1.1/suppresses/email_remove
Request parameters
Parameter | Type | Example | Required | Description |
---|---|---|---|---|
token | string | "abcdefghijklmnqrstuvwxyz" | Yes | API token |
format | string | "json" | No | Response data format By default– json |
id | int | 12 | Yes | Suppression list ID |
string | "example@example.com" | Yes | Email address |
caution
You can use MD5 hash for an email address.
Request example
- JSON
- XML
{
"token": "abcdefghijklmnqrstuvwxyz",
"email": "john@example.com",
"id": 1
}
<xml>
<token>abcdefghijklmnqrstuvwxyz</token>
<email>john@example.com</email>
<id>1</id>
</xml>
Response example
- JSON
- XML
{
"error": 0,
"error_text": "Successful operation"
}
<xml>
<data/>
<error>0</error>
<error_text>Successful operation</error_text>
</xml>
Response parameters
Parameter | Type | Description |
---|---|---|
error | int | Error code |
error_text | string | Error text |