Please note: All new registrants to the Panopto Community Forum must be approved by a forum moderator or admin. As such, if you navigate to a feature that is members-only, you may receive an error page if your registration has not yet been approved. We apologize for any inconvenience and are approving new members as quickly as possible.
API Delete a session
David Levinson
Tyro
We have a list of session URLs that we need to delete. We downloaded the MP4 output from a list of URLs (see example) I can see the sessions in Panopto. Is there a method via the API to delete sessions given a list of session IDs? Example URLs with MP4 output:
https://[oursitefiles].cloudfront.net/sessions/22984437-8430-4662-a81d-ace0011d37cb/98e6d2a0-7d95-46f0-a03a-ace0011d37d5-3dcc6d2d-c8e5-4314-a11d-b1c0006f58f4.mp4
In our site, the source session for this video is
https://lakeforestcollege.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=7b65f8d1-f0c1-4049-82dc-ace20106df17
Thanks for any help!
Tagged:
0
Answers
Hi David,
You can delete sessions using the SOAP or REST Public APIs, using the session delivery ID in both cases. The delivery ID is the ID shown in your second URL (the source session for the video). You can use either the SOAP API's ISessionManagement.DeleteSessions method, or the REST API's DeleteSession method to delete sessions individually.
I hope that this helps. Please let me know if you have any other questions.
Thanks,
Kevin