Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option for automatic recording deletion from the cloud after a successful download #24

Open
vdv2013 opened this issue Nov 5, 2022 · 3 comments

Comments

@vdv2013
Copy link

vdv2013 commented Nov 5, 2022

One important use-case for mass download of recordings is to free some space in the zoom cloud storage. But there is not delete function right now...

This could be added easily with something like this:

def API_ENDPOINT_DELETE_RECORDING(meeting_id):
    API_ENDPOINT = 'https://api.zoom.us/v2/meetings/' + meeting_id + '/recordings?action=trash'
    return API_ENDPOINT

as well as

def delete_cloud_recording(meeting_id):
    response = requests.delete(url=API_ENDPOINT_DELETE_RECORDING(
        meeting_id), headers=AUTHORIZATION_HEADER)

    if not response.ok:
        print(response.content)

    return response.ok
@vdv2013 vdv2013 changed the title Add automatic recording deletion Add an option for automatic recording deletion from the cloud after a successful download Nov 5, 2022
@Gregistopal
Copy link

Do you know of a way the completed-downloads file could be used to go through and delete all recordings that have been downloaded?

@ggatto
Copy link

ggatto commented Mar 7, 2023

Not sure how to do it, but would be great if this option exists, I am doing it manually. Thanks.

the zoom doc https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#operation/recordingDelete have this endpoint, I think the script has all information need it, we just need to be sure we want to delete a recording.

But requires OAuth, so a more extensive modification is needed to the script.

@vickysirwani
Copy link

This would certainly be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants