I have tried to delete the record from VoiceCallRecording in the execute anonymous to test this functionality so that later on I can put the same in Apex class. I am the owner of voicecall record.
Here is the below code snippet.
List<VoiceCallRecording> vcr = [SELECT Id, Name, VoiceCallId FROM VoiceCallRecording where VoiceCallId = 'SomeIdOfVoiceCall']; delete vcr.get(0);
and when I execute this, I get error like
DML operation Delete not allowed on VoiceCallRecording
As per documentation of the VoiceCallRecording says that the delete() is allowed. Could anyone pls guide me through this, is there any permission set that needs to be enabled or anything that I am missing
url of the documentation