« Back to Documentation Overview

add_suppression_skiplist

Section: Suppressions
Version: 1.5.0


Add mask to a set of masks for suppression.


Parameters
stringAPI_KEY
object
stringsuppressionSUPPRESSION_ID
stringmaskby.whole@email.com
Return Value
integeradded1

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