Remote

Files Remote Remove

POST
/files.remote.remove

Remove a remote file.

Authorization

slackAuth remote_files:write
AuthorizationBearer <token>

In: header

Scope: remote_files:write

Header Parameters

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Request Body

application/x-www-form-urlencoded

token?string

Authentication token. Requires scope: remote_files:write

file?string

Specify a file by providing its ID.

external_id?string

Creator defined GUID for the file.

Response Body

application/json

application/json

curl -X POST "https://example.com/files.remote.remove" \  -H "Content-Type: application/x-www-form-urlencoded" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d ''
{  "ok": "True"}