mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-11 22:38:53 +01:00
Updated Filer Server API (markdown)
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
|
||||
```
|
||||
Reference in new issue
Block a user