Skip to content

Delete one call

Request:

DELETE /api/v2/calls/<call-id>.json

The call record and its audio files are deleted permanently. A call that is marked Do not delete cannot be deleted through the REST API.

Response contains HTTP status code as shown in the following table.

Response Description
200 OK The call has been successfully deleted
403 Forbidden The request cannot be completed because API user has no permission to delete this call, or the call is marked Do not delete
404 Not Found Call with such ID does not exist
500 Internal Server Error The audio file could not be deleted from the storage. details contains the reason. The call record is kept