Current section
Files
Jump to
Current section
Files
priv/docs/methods/files.remote.remove.json
{
"args": {
"external_id": {
"desc": "Creator defined GUID for the file.",
"example": "123456",
"required": false,
"type": "string"
},
"file": {
"desc": "Specify a file by providing its ID.",
"example": "F2147483862",
"required": false,
"type": "string"
}
},
"desc": "Remove a remote file.",
"errors": {
"bot_user_required": "bot user token is required",
"file_not_found": "Value passed for `file` or `external_id` was invalid",
"file_under_review": "File passed is tombstoned for DLP review",
"invalid_args": "Invalid arguments passed to endpoint",
"too_many_ids": "The request specified both an external\\_id and a file, only one may be specified"
},
"rate_limit": {
"label": "Tier 2: 20+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"bot": [
{
"name": "remote_files:write",
"url": "https://docs.slack.dev/reference/scopes/remote_files.write"
}
]
}
}