The DELETE/voicemail/file request will delete one or more voicemail messages from the user's account archive.
All parameters go in the header.
|mailbox||string||The mailbox line from which the message is to be deleted.|
|file||string||The file name of the message to be deleted (several can be specified in one request, but each in a separate parameter.)|
You obtain this file name using the get/voicemail method.
|dir||string||The directory for which the messages will be listed, either INBOX or SENT. Default is INBOX.|
To delete a message in the inbox directory for voicemail line 1113840 use this syntax:
HTTPS method: DELETE
A "null" error indicates successful deletion.
It is followed by he actual audio of the voicemail in asci text format, encoded in base64. This may be many pages long. Shown here is a truncated version.
After the asci text there is a definition of the mimetype - the format of the audio file. This is always defined as "audio\/x-wav".
You can convert the asci data into actual audio with any online base64 to Wav converter, such as this one: