This method deletes a file
This method has the URL https://slack.com/api/files.delete
and follows the Slack Web API calling conventions.
Argument | Example | Required | Description |
---|---|---|---|
token | xxxx-xxxxxxxxx-xxxx | Required | Authentication token (Requires scope: files:write ) ?? |
file | F2147483862 | Required | Specify a file by providing its ID. |
You will receive a standard Slack API response in JSON. If successful you get:
{
"ok": true
}
I would assume you get similar errors and warnings as with files.upload and files.info