This is a script to delete your slack app files in bulk on the fly using the latest slack API. Modified from here
- This script does not store any
username
orpassword
. - Needs
xoxb
orxoxp
user token. Create a new app at https://api.slack.com/apps, register for user and bot tokens. - Please use at your own risk, it delete all files for the given "user" by "id" so file filtering may be possible.
user
id theuser_id
, you can get it fromslack
under yourprofile
from the slack app.