« Back to Documentation Overviewdelete_suppression
Section: Suppressions
Version: 1.5.0
Delete suppression list from your account.
Warning: Every mask defined within this suppression will be lost.
Warning: Every queued message that uses this suppression will be send as planned, but contact emails will not be filtered using masks from this suppression.
Parameters
|
---|
string | API_KEY |
object | string | suppression | SUPPRESSION_ID |
|
Return Value
|
---|
integer | deleted | 1 |
Example Request JSON
[
"API_KEY",
{
"suppression": "SUPPRESSION_ID"
}
]
Example Response JSON
{
"deleted": 1
}
Example Error Response JSON
{
"code": -1,
"message": "Missing suppression"
}
Method-specific Errors
|
---|
Missing suppression |
API-wide Errors
|
---|
API key verification failed
| API key verification failed |
API client IP not allowed
| API client IP not allowed |
Invalid params
| Attribute params must be reference to hash |