files_revokePublicURL
POST
/files.revokePublicURL https://slack.com/api
Revokes public/external sharing access for a file
Parameters
header Header Parameters
| Name | Type |
|---|---|
token Authentication token. Requires scope: | string |
Request Body
application/x-www-form-urlencoded
{ file?: string; }
Responses
200 application/json
Typical success response
{ file: ObjsFile ;ok: DefsOkTrue ; }
default application/json
Typical error response
{ callstack?: string;error: "file_not_found" | "not_authed" | "invalid_auth" | "account_inactive" | "token_revoked" | "no_permission" | "org_login_required" | "user_is_bot" | "user_is_restricted" | "invalid_arg_name" | "invalid_array_arg" | "invalid_charset" | "invalid_form_data" | "invalid_post_type" | "missing_post_type" | "team_added_to_org" | "invalid_json" | "json_not_object" | "request_timeout" | "upgrade_required" | "fatal_error";ok: DefsOkFalse ; }