A python3 script that allows bulk deletion of files from a slack workspace, deployed to GCP Functions.
Just a bare minimum working PoC!.
Note: this relies on the "legacy" API tokens, which are being deprecated May 2020. After this date you won't be able to create a new token. Thanks slack.
https://api.slack.com/legacy/custom-integrations/legacy-tokens