Community articlePurging all files from the trash
Added by IBM contributorIBM on June 23, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Delete all of the files from the trash permanently.



Delete all of the files from the trash permanently.

See Authenticating requests for information about how to authenticate the request. The requestor must have permission to permanently delete files from the trash.
 

  • {userid} is the value of the <snx:userid> of the person who owns the files. See Searching Profiles for information about how to determine a person's user ID.
     

Input


None.

Output


None.

Input
Method URI Description
DELETE /files/basic/api/userlibrary/{userid}/view/recyclebin/feed Permanently deletes all files from the specified person's recycle bin
DELETE /files/basic/api/myuserlibrary/view/recyclebin/feed Permanently deletes all files from your recycle bin
Name Type Optional Description
userid
string Yes {userid} is the value of the <snx:userid> of the person who owns the file. See Searching Profiles for information about how to determine a person's user ID.
Name Type Optional Description
X-Update-Nonce
string Yes String. Represents a unique data string generated by the server upon request that you can provide to secure the request. See Getting a nonce key for information about how to request the data string.
Output
Code Description
204
Indicates that the files were successfully purged from the trash.
401
Unauthorized.
404
Not Found.