Go to Slack

file_unshared event

A file was unshared

Compatibility: RTM Events API

Scopes: files:read


{
    "type": "file_unshared",
    "file": { … }
}

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 is a file object containing information about the unshared file.

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.