Delete a file 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.
Table 1. Atom API request details
Method URI Input and output representations DELETE Construct the URI using the following syntax: /basic/api/collection/{collection-id}/entry none
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.
Table 2. Input headers
Parameter Description X-Method-Override Tunnels a DELETE request over HTTP POST
Input
None.
Output
None.Returned HTTP headers
HTTP/1.1 204 No Content
Indicates that the file folder was successfully deleted.
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Parent topic
Work with foldersRelated reference
File folder content
});