Can a script purge the trash through the API?
No. Deleting a trashed file or folder for good and emptying the trash are browser only. A script can move things to the trash and restore them.
No. Deleting a trashed file or folder for good and emptying the trash are browser only. A script can move things to the trash and restore them.