This request will delete a voicemail to e-mail item. A message is normally e-mailed within seconds of being left, but one still waiting to be e-mailed when the item is deleted (e.g. because the mail server failed) is deleted without being e-mailed.
| URL | https://api.telecomx.dk/pbx/voicemailtoemail/VOICEMAIL_TO_EMAIL_ID | ||
|---|---|---|---|
| Method | DELETE | ||
| Access level | MANAGER or OWNER if user belongs to the customer who owns it. RESELLER if customer belongs to the reseller. RESELLER_ADMIN. ADMIN. |
||
| params | VOICEMAIL_TO_EMAIL_ID | Id | Id of the voicemail to e-mail item to delete. |
| JSON object | ||
|---|---|---|
| success | Boolean | true on success. |
{ success: true }
| Error code | Message | Description |
|---|---|---|
| 422 | id | Invalid ObjectId |
| 404 | not_found | Voicemail to e-mail item not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |