Permanently delete a folder
DELETE/folders/:folderKey/permanent
Permanently and irreversibly removes the folder with the given folder key. The folder cannot be recovered afterwards. If the folder is live (not soft-deleted), then it must not contain any live files anywhere in its subtree. Empty live folders are removed as part of the deletion as well as any soft-deleted items in its subtree. If the folder is soft-deleted and has been the target of the operation, then it is deleted with any soft-deleted folders or files it contains. If the folder is soft-deleted but has not been the target of the operation (i.e. one of its ancestor folders/project/workspace was soft-deleted), then the operation fails with 409. Instead, delete the original target of the soft-delete operation.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 409
- 500
The folder was permanently deleted successfully.
The provided data is not valid.
The request lacks valid authentication credentials.
Response Headers
Forbidden. The request is not allowed.
The requested resource was not found.
The folder is soft-deleted but was not itself the target of the soft-delete operation (it was soft-deleted as a descendant of an ancestor folder, project, or workspace).
An internal error occurred while processing the request.