« Back to Documentation Overviewadd_suppression_skiplist
Section: Suppressions
Version: 1.5.0
Add mask to a set of masks for suppression.
Parameters
|
---|
string | API_KEY |
object | string | suppression | SUPPRESSION_ID | string | mask | by.whole@email.com |
|
Return Value
|
---|
integer | added | 1 |
Example Request JSON
[
"API_KEY",
{
"suppression": "SUPPRESSION_ID",
"mask": "by.whole@email.com"
}
]
Example Response JSON
{
"added": 1
}
Example Error Response JSON
{
"code": -1,
"message": "Invalid mask syntax"
}
Method-specific Errors
|
---|
Missing suppression |
Invalid mask syntax |
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 |