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.
Batch Deletion of Users using API
Fred Scott
Tyro
in API
How can one perform a batch deletion of old users using an API? (I'm not sure which API, so the more specific, the better.)
1
Answers
The REST API only has GET methods for its users endpoint (you can see its documentation at {{your domain}}/Panopto/Api/Docs/index.html#/Users) so you have to use the SOAP API. You want the IUserManagement interface, specifically the DeleteUsers method: https://support.panopto.com/resource/APIDocumentation/Help/html/137d3d9b-c406-e9cb-5820-fd61ea46f462.htm
You can use the SOAP API examples as a reference for how to authenticate and call the API: https://github.com/Panopto/SOAP-API-Examples