Remove all phone numbers from suppression list
Description
Removes all phone numbers from a suppression list.
Request URL
Method: POST
https://example.com/api/v1.1/suppresses/phones_remove
Request parameters
Parameter | Type | Example | Required | Description |
---|---|---|---|---|
token | string | "abcdefghijklmnqrstuvwxyz" | Yes | API token |
format | string | "json" | No | Response data format By default – json |
id | int | 1 | Yes | Suppression list ID |
Request example
- JSON
- XML
{
"token": "abcdefghijklmnqrstuvwxyz",
"id": 1
}
<xml>
<token>abcdefghijklmnqrstuvwxyz</token>
<id>1</id>
</xml>
Response example
- JSON
- XML
{
"error": 0,
"error_text": "Successful operation",
"removed_count": 500
}
<xml>
<error>0</error>
<error_text>Successful operation</error_text>
<removed_count>4</removed_count>
</xml>
Response example
- JSON
- XML
{
"error": 0,
"error_text": "Successful operation",
"removed_count": 500
}
<xml>
<error>0</error>
<error_text>Successful operation</error_text>
<removed_count>500</removed_count>
</xml>
Response parameters
Parameter | Type | Description |
---|---|---|
error | int | Error code |
error_text | string | Error text |
remove_count | int | Number of removed phones |