code credits slack api delete files

how to run

  • copy the files to your laptop/pc

  • get your slack API token >> keep it safe, disable or delete after use <<

  • update the local file with your API token and run python3 slack-api-delete-files.py

  • remove the token from file

  • disable/revoke the token from your slack API, create a new token next time you needed it