Delete Recording

Delete both the metadata and the media of the specified recording.

Request URL

DELETEhttps://voice.bandwidth.com/api/v2/accounts/{accountId}/calls/{callId}/recordings/{recordingId}

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

Example 1 of 1: Delete recording

curl -X DELETE \
    --url "https://voice.bandwidth.com/api/v2/accounts/{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) {
    e.printStackTrace();
}
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)
try {
    await voiceController.deleteRecording(accountId, callId, recordingId);
catch (error) {
    console.error(error);
}
try {
    $voiceClient->deleteRecording($accountId, $callId, $recordingId);
} catch (BandwidthLib\APIException $e) {
    print_r($e);
}

results matching ""

    No results matching ""