Delete virtual sender
Description
Deletes a virtual sender entry.
Request URL
Method: POST
https://example.com/api/v1.1/vsenders/delete
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 | virtual sender ID |
Request example
- JSON
- XML
{
"token": "abcdefghijklmnqrstuvwxyz",
"id": 12
}
<xml>
<token>abcdefghijklmnqrstuvwxyz</token>
<id>11</id>
</xml>
Response example
- JSON
- XML
{
"error": 0,
"error_text": "Successful operation"
}
<xml>
<error>0</error>
<error_text>Successful operation</error_text>
</xml>
Response parameters
Parameter | Type | Description |
---|---|---|
error | int | Error code |
error_text | string | Error text |