Deleting libraries from old users (pro server)


I’m looking for a way to automatically delete libraries from users who left university (alumni). We are using the pro server. Is it possible to write an admin script using the seafile api to delete old user data (including encrypted libraries)?


Of course, but I would use the DB directly for for the age query and then the API to delete them. When you begin, you should be aware that the API changes with 7.0 completely. You can find the new on Github.

OK, thanks for the answer. Our users are stored in LDAP, so we don’t need to query the DB.