« Back to Documentation Overviewadd_suppression
Section: Suppressions
Version: 1.5.0
Add suppression list to your account. This method registers named container for masks, which can be added using add_suppression_skiplist.
Conditions: name (mandatory) – Name of your suppression list, must be unique within account.
Parameters
|
---|
string | API_KEY |
object | |
Return Value
|
---|
string | SUPPRESSION_ID | abc123 |
integer | added | 1 |
Example Request JSON
[
"API_KEY",
{
"name": "Weird people"
}
]
Example Response JSON
{
"SUPPRESSION_ID": "abc123",
"added": 1
}
Example Error Response JSON
{
"code": -1,
"message": "Name already used"
}
Method-specific Errors
|
---|
Name already used |
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 |