You must enable javascript in order to use the Slack API Documentation. You can do this in your browser settings.
Go to Slack

file_unshared event

A file was unshared

Compatibility: RTM Events API

Expected scopes:

{
    "type": "file_unshared",
    "file_id": "F2147483862",
    "file": {
        "id": "F2147483862"
    }
}

The file_unshared event is sent when a file is unshared. It is sent to all connected clients for all users that had permission to see the file. The file property includes the file ID, as well as a top-level file_id. To obtain additional information about the unshared file, use the files.info API method.

Events API compatibility

Subscribe to this event via the Events API.

Events of this type will be wrapped in metadata when sent via the Events API.