Delete Recording
Delete the recording information, media and transcription.
Request URL
DELETE
https://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 |
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 "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);
}