Delete Voicemail Files
Delete voicemail files of a specific extension.
Endpoint
POST /api/v1.1.0/voicemail/delete?token={token}
Request Parameters
Name | Importance | Type | Description |
---|---|---|---|
extid |
Yes | Int | Delete which extension's voicemail file. |
voicemailfile |
Yes | String | The name of the voicemail file.
|
voicemailstatus |
Yes | String | The voicemail status.
|
Examples
Request ExamplePOST /api/v1.1.0/voicemail/delete?token=1e3b3ebb6a974cb42ed31de5413df52d HTTP/1.1 Content-Type:application/json; charset=utf-8 Host: api.yeastarcloud.com { "extid": "1000", "voicemailfile": "msg0000.wav", "voicemailstatus": "read" }Response Example
HTTP/1.1 200 OK Access-control-allow-origin: * Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE { "status": "Success" }