diff --git a/Filer-Server-API.md b/Filer-Server-API.md index dff5209..853ef28 100644 --- a/Filer-Server-API.md +++ b/Filer-Server-API.md @@ -61,7 +61,15 @@ curl "http://localhost:8888/javascript/?pretty=y&lastFileName=new_name.js&limit ``` -# Delete a file +# Deletion + +## Delete a file ```bash -> curl -X DELETE "http://localhost:8888/assets/report.js" +> curl -X DELETE http://localhost:8888/path/to/file +``` + +## Delete a folder + +```bash +> curl -X DELETE http://localhost:8888/path/to/dir?recursive=true ```