We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An endpoint that deletes a specified directory
DELETE
/dir
Query parameters:
path
force
true
false
Responses:
204 No Content
404 Not Found
400 Bad Request
409 Conflict
409
rm -rf
The text was updated successfully, but these errors were encountered:
No branches or pull requests
An endpoint that deletes a specified directory
DELETE
/dir
Query parameters:
path
force
true
orfalse
false
Responses:
204 No Content
- when the directory was successfully deleted.404 Not Found
- when couldn't find the directory or if the path is pointing to a file.400 Bad Request
- when the path is invalid.409 Conflict
- when the directory has contents butforce
is set tofalse
Extra info
force
is set tofalse
the directory should be deleted only when it's empty - if not empty, respond with409
force
is set totrue
the directory and all it's contents (files, subdirectories and their contents, etc) - equivalent ofrm -rf
The text was updated successfully, but these errors were encountered: