Skip to main content
slack.deleteFile permanently deletes a file the installed bot is allowed to delete.

Example

automations/delete-file.automation.ts

Inputs

Requires the stable Slack fileId.

Output

Completes without a value. Requires files:write. This operation is destructive and Slack does not provide a restore action.