provider files POST /files.delete
@utdk/slack /files.delete
files_delete
Deletes a file.
token header
Authentication token. Requires scope: `files:write:user`
string

Try it

Authentication
Configure credentials for Slack Web API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

filesDelete
POST/files.delete
Deletes a file.

Input

ID of file to delete.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import slack from '@utdk/slack';

await slack.filesDelete()