Delete a file share programmatically.
Only the owner of a file can delete shares from that file.
See Authenticating requests
for information about how to authenticate the request.
Table 1. Atom API request details
Input and output representations
is the value of the <td:uuid> element in the file's Atom entry document.
You can use the following header.
Table 2. Input header
Tunnels a DELETE request over HTTP POST
You can use one or more of these input parameters. Separate multiple parameters with an ampersand (&).
Table 3. Input parameters
Note: This is a required parameter.
String. Document uuid. Delete a set of share resources for the specified document.
User ID of the user with whom the document has been shared, but you would like to prevent from having access to it. You can specify more than one person. Separate multiple user IDs with a comma. Any share resources for the document that have the specified users as targets of the share will be deleted. The default is to delete the document's shares with all users.
Returned HTTP headers
HTTP/1.1 204 No Content
Indicates that the file metadata was successfully deleted.Error codes
Parent topic: Working with shares
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found