Purging a file from the trash
Delete a file from the trash permanently.See Authenticating requests for information about how to authenticate the request. The requestor must have permission to permanently delete the specified file from the trash.
Table 1. Atom API request details
Method URI Input and output representations Description DELETE /basic/api/userlibrary/{userid}/recyclebin/{document-id}/entry none Permanently deletes a file from the specified person's recycle bin DELETE /basic/api/myuserlibrary/recyclebin/{document-id}/entry none Permanently deletes a file from your recycle bin
- {userid} is the value of the <snx:userid> of the person who owns the file. See Search Profiles for information about how to determine a person's user ID.
- {document-id} is the value of the <td:uuid> of the file and can be found in the file's Atom document.
Input
None.
Output
None.Returned HTTP headers
HTTP/1.1 204 No Content
Indicates that the file was successfully purged from the trash.
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Parent topic
Work with files in the trash
});