question

Christine Dutra avatar image
Christine Dutra asked Phong Vu commented

API access to delete the call recording

I am not able to find API to delete call recordings. One of my customers does not want data to be in multiple clouds - customer requests to download the recording into our cloud and remove recordings from RingCentralCloud.

call recordingremove
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered Phong Vu commented

Unfortunately, there is no separate API to delete only the call recording. However, you can delete the call log record which has the recording you want to delete.

To delete a call log record, make a DELETE request to the following endpoint :

"/account/~/extension/~/call-log/[recordId]"

2 comments
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

matt-spinks2179 avatar image matt-spinks2179 commented ·

How does the extension (and permissions) come into play with deletions like this? If I use an extension that is a super admin in the URL, can I delete calls from any extension? Or just my own? If just my own, then how does this api endpoint handle calls that are attached to multiple extensions?

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ matt-spinks2179 commented ·

I don't see an account level endpoint for deleting a call record of other extension, so I think it is only doable at an extension level. Also, when a record is deleted, it is just marked as deleted any not actually removed from the database. You can query the call log (at extension level) with the "showDeleted" flag set to true to see "deleted" record. So if a record is attached to other extensions, those extension still can read the record normally.

0 Likes 0 ·
Khadhar Koneti avatar image
Khadhar Koneti answered Phong Vu commented

In below link where u can find the documentation.

https://developers.ringcentral.com/guide/voice/call-log/reading-call-log

1 comment
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image Phong Vu ♦♦ commented ·

Thanks for your active activity on the forum. However, please give answer to the question accordingly. This question is about to delete a call recording. Not to read the call log.

Thanks!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.