Move a voicemail to Trash

Moves the voicemail to Trash, as the phone's delete key does, and answers 200 with it: deleted_at set, and purge_at when Trash deletes it for good on its own (30 days after it went there, or 90 days after it was left if sooner). A link to its audio stops at once. Already in Trash: 200, unchanged.

Take it out with POST /voicemails/{voicemail_id}/restore, or delete it for good with POST /voicemails/{voicemail_id}/purge.

Notes:

  • After a lost answer, GET it: deleted_at set means it is in Trash. Don't send it again with the same If-Match: the move changed its etag, so that is 412.
  • 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 voicemail's id, from GET /voicemails.

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