« Back to Documentation Overviewdelete_suppression_skiplist
Section: Suppressions
Version: 1.5.0
Delete mask from a set of masks for suppression.
Warning: If any queued message uses this suppression then it will be send as planned, but contact emails will not be filtered using this masks from this suppression.
Parameters
|
---|
string | API_KEY |
object | string | suppression | SUPPRESSION_ID | string | mask | by.whole@email.com |
|
Return Value
|
---|
integer | deleted | 1 |
Example Request JSON
[
"API_KEY",
{
"suppression": "SUPPRESSION_ID",
"mask": "by.whole@email.com"
}
]
Example Response JSON
{
"deleted": 1
}
Example Error Response JSON
{
"code": -1,
"message": "Missing mask"
}
Method-specific Errors
|
---|
Missing suppression |
Invalid mask syntax |
Missing mask |
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 |