Delete a Voicemail Message

Delete a specific voicemail message.

Request URL

GET {base_url}/{api_path}/vm/create?access_token={access_token}

Request parameters

Parameter Required Type Description
id Yes String The unique ID of the voicemail message.
Note: You can query the voicemail message ID using Query Voicemail Messages of an Extension or a Group Voicemail.

Response parameters

Table 1.
Parameter Type Description
errcode Integer Returned error code.
  • 0: Succeed.
  • Non-zero value: Failed.
Note: You can check the error code and error message in Error Code and Error Message.
errmsg String Returned message.
  • SUCCESS: Succeed.
  • FAILURE: Failed.

Examples

Request example

GET /openapi/v1.0/vm/delete?id=1718161323-00000002&access_token=UN4AwGY5YMn2tQDqM8LoRi9oPeInD0oP HTTP/1.1
Host: 192.168.5.150:8088
User-Agent: OpenAPI

Response example

HTTP/1.1 200 OK
{
    "errcode": 0,
    "errmsg": "SUCCESS"
}