From 5fc8d830b1e515693146b335a62acbeae8529f46 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 11 Sep 2019 20:28:49 -0700 Subject: [PATCH] filer: recursive deletion optionally ignoring any errors --- Filer-Server-API.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Filer-Server-API.md b/Filer-Server-API.md index 853ef28..1393e1f 100644 --- a/Filer-Server-API.md +++ b/Filer-Server-API.md @@ -71,5 +71,9 @@ curl "http://localhost:8888/javascript/?pretty=y&lastFileName=new_name.js&limit ## Delete a folder ```bash +// recursively delete all files and folders under a path > curl -X DELETE http://localhost:8888/path/to/dir?recursive=true +// recursively delete everything, ignoring any recursive error +> curl -X DELETE http://localhost:8888/path/to/dir?recursive=true&ignoreRecursiveError=true + ```