Delete All Voicemail Messages of an Extension
Delete all the voicemail messages of an extension, either left via calls or via API.
Request URL
GET {base_url}/{api_path}/vm/delete_extension_vm?access_token={access_token}
Request parameters
Parameter | Required | Type | Description |
---|---|---|---|
vm_to_number | Yes | String | The extension number to which the voicemail message was left. |
Response parameters
Parameter | Type | Description |
---|---|---|
errcode | Integer | Returned error code.
Note: You can check the error code and
error message in Error Code and Error Message.
|
errmsg | String | Returned message.
|
Examples
Request example
Delete all the voicemail messages left to extension 1005.
GET /openapi/v1.0/vm/delete_extension_vm?access_token=UN4AwGY5YMn2tQDqM8LoRi9oPeInD0oP&vm_to_number=1005 HTTP/1.1
Host: 192.168.5.150:8088
User-Agent: OpenAPI
Response example
HTTP/1.1 200 OK
{
"errcode": 0,
"errmsg": "SUCCESS"
}