You must enable javascript in order to use the Slack API Documentation. You can do this in your browser settings.
Go to Slack

files:write:user scope

This scope lets an app "Add, edit, and delete files and file comments"

Supported token types:

This OAuth permission scope works with these Web API methods.

Methods

Browse all scopes