-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathfile_unshared.json
More file actions
19 lines (19 loc) · 928 Bytes
/
Copy pathfile_unshared.json
File metadata and controls
19 lines (19 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"name": "file_unshared",
"desc": "A file was unshared.",
"long_desc": "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. This event is not raised if the reason for a file's removal is due to a workspace's file retention policy, as opposed to a user unsharing the file. When an event occurs, we will send an HTTP POST request to your Request URL. The outer payload is uniform across all Events API methods, and contains fields like team_id and event. Learn more",
"example": {
"type": "file_unshared",
"file_id": "F2147483862",
"file": {
"id": "F2147483862"
}
},
"scopes": [
"files:read"
],
"APIs": [
"Events",
"RTM"
]
}