Welcome to the Panopto Community

API Delete a session

edited August 2024 in API

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:

Answers

  • Kevin BaumKevin Baum Panopto Employee

    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

Sign In or Register to comment.