« Back to Documentation Overviewadd_account_blacklist
Section: Blacklists
Version: 1.5.0
Adds blacklist mask on account level.
Parameters
|
---|
string | API_KEY |
object | |
Return Value
|
---|
integer | added | 1 |
Example Request JSON
[
"API_KEY",
{
"mask": "mask_value"
}
]
Example Response JSON
{
"added": 1
}
Example Error Response JSON
{
"code": -1,
"message": "Invalid mask syntax"
}
Method-specific Errors
|
---|
Cannot set mask |
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 |