Updated Filer Server API (markdown)

Chris Lu committed 2018-12-13 22:04:46 -08:00
1 parent d843b2da79
commit 5f227b874b
1 file changed
+10 -2
+10 -2
@@ -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
```