Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit ff5b1b8

Browse files
author
haydenyoung
committed
Docs for db delete.
1 parent c6c034b commit ff5b1b8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,14 @@ curl -X POST http://localhost:3000/db/counter/inc/100
297297
zdpuAmHw9Tcc4pyVjcVX3rJNJ7SGffmu4EwjodzmaPBVGGzbd
298298
```
299299

300+
### DELETE /db/:dbname
301+
302+
Deletes the local database :dbname. This does not delete any data from peers.
303+
304+
```shell
305+
curl -X DELETE http://localhost:3000/db/docstore
306+
```
307+
300308
### DELETE /db/:dbname/:item
301309

302310
Deletes the item specified by :item from the database :dbname.

0 commit comments

Comments
 (0)