Delete Recording

Delete the recording information, media and transcription.

Request URL


Basic Authentication

Bandwidth's Voice API leverages Basic Authentication with your Dashboard API Credentials. Read more about how Bandwidth secures endpoints in the Security & Credentials document.

Supported Parameters

Parameter Description
None None

Note: After the deletion is requested and a 204 is returned, neither the recording metadata nor the actual media nor its transcription will be accessible anymore. However, the media of the specified recording is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.

Example 1 of 1: Delete recording

curl -X DELETE \
    --url "{accountId}/calls/{callId}/recordings/{recordingId}" \
     -u '{username}:{password}'
HTTP/1.1 204
try {
    ApiResponse<Void> response = voiceClient.deleteRecording(VOICE_ACCOUNT_ID, "callId", "recordingId");
} catch (ApiException | IOException e) {
controller.DeleteRecording(accountId, callId, recordingId);
voice_client.delete_recording(VOICE_ACCOUNT_ID, call_id, recording_id)
voice_client.delete_recording(VOICE_ACCOUNT_ID, call_id, recording_id)
import { Client, ApiController } from '@bandwidth/voice';

const client = new Client({
    basicAuthUserName: 'username',
    basicAuthPassword: 'password'

const controller = new ApiController(client);

const accountId = '1111111';
const callId = 'c-abc12345-6defabc1-2345-6def-abc1-23456defabc1';
const recordingId = 'r-abc12345-6def-abc1-2345-6defabc12345';

const response = await controller.deleteRecording(accountId, callId, recordingId);
try {
    $voiceClient->deleteRecording($accountId, $callId, $recordingId);
} catch (BandwidthLib\APIException $e) {

results matching ""

    No results matching ""