Delete a folder
DELETE/folders/:folderKey
Soft-deletes the folder with the given folder key. The folder is moved to the recently deleted state and can be recovered during the retention window. The folder must have no files in the folder or any of its descendants. To permanently and irreversibly remove a folder, use DELETE /folders/{folderKey}/permanent instead.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 500
The folder was deleted successfully.
The provided data is not valid.
The request lacks valid authentication credentials.
Response Headers
WWW-Authenticate
Forbidden. The request is not allowed.
The requested resource was not found.
An internal error occurred while processing the request.