Skip to main content

Update suppression list

Description

Renames a suppression list.

Request URL

Method: POST

https://example.com/api/v1.1/suppresses/update

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"ДаAPI token
formatstring"json"НетResponse data format
By default – json
idint1ДаSuppression list ID
namestring"Suppression list v.2"ДаSuppression list new name

Request example

{
"token": "abcdefghijklmnqrstuvwxyz",
"id": 2,
"name": "New suppression list"
}

Response example

{
"data": {
"saved_id": 2
},
"error": 0,
"error_text": "Successful operation"
}

Response parameters

ParameterTypeDescription
errorintError code
error_textstringError text