Here is the below code snippet.
and when I execute this, I get error like DML operation Delete not allowed on VoiceCallRecordingAs 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 missingurl of the documentation Link (https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_voicecallrecording.htm)List<VoiceCallRecording> vcr = [SELECT Id, Name, VoiceCallId FROM VoiceCallRecording where VoiceCallId = 'SomeIdOfVoiceCall'];
delete vcr.get(0);
1 answer
Hi Sunil,As per my understanding the record on this object might not be able to delete using apex. Thanks,