Delete a shared voicemail box

Deletes a shared box for good, with its greetings and its voicemails, and answers 204. From that moment it is gone everywhere; its audio is cleaned up in the background. Your account's admins and API keys only.

While something still sends calls or copies to it (a call flow, a phone number, a phone menu, a ring group, a queue, an extension's forwarding, another box's copy_to_ids), it is 409 voicemail_box_in_use, and details.used_by lists each one: change those first. An extension's own box is deleted with its extension, so deleting it here is 409 voicemail_box_in_use naming the extension.

Notes:

  • Retrying after a lost answer is safe: a box already deleted answers 404, which means done.
  • E-mails already sent are not recalled.
  • Every answer carries X-Request-Id and Cache-Control: private, no-store.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The box's id, from GET /voicemail_boxes (or GET /me's extensions[].voicemail.id).

Headers
string

The etag you read (the ETag header). If it changed since, nothing is changed and the answer is 412 precondition_failed: read it again and resend your change. Leave it out to change whatever is there now.

uuid

Send Account-Id when your credentials reach more than one account (GET /me lists them in accounts). An API key acts in its own account, and a person in one organization in theirs: neither needs it. A person in several organizations must name it on every write (400 account_required); their reads without it use their home account. Credentials with no home account in GET /me need it on every request but GET /me. An account your credentials can't act in: 403 forbidden. Empty, not an account id, or sent twice: 400 parameter_invalid. Each names Account-Id in param.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/json