Community articleDeleting a file folder
Added by IBM contributorIBM on March 25, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Delete a file folder using the HTTP DELETE request. Deleting a folder does not delete the files in the folder.



Delete a file folder using the HTTP DELETE request. Deleting a folder does not delete the files in the folder.

Only a manager of a folder can delete the folder.

See Authenticating requests for information about how to authenticate the request.

Note: {collection-id} is the value of the <td:uuid> element in the collection's Atom entry document.

You can use this input header in a POST request instead of using the DELETE request.

Input

None.

Output

None.

Input
Method URI Description
DELETE /files/basic/api/collection/{collection-id}/entry Delete a file folder using the HTTP DELETE request.
Name Type Optional Description
collection-id
string No {collection-id} is the value of the <td:uuid> element in the collection's Atom entry document.
Name Type Optional Description
X-Method-Override
string Yes Tunnels a DELETE request over HTTP POST
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
No Content. Indicates that the file folder was successfully deleted.
401
Unauthorized.
404
Not Found.