Go to Slack

file_unshared event

Compatibility: RTM Events API

Events API Scope: files:read


A file was unshared

{
    "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.

file_unshared requires the files:read OAuth permission scope.