Files
syncthing/rest/system-reset-post.rst
T

10 lines
404 B
ReStructuredText
Raw Normal View History

2015-05-28 12:40:43 +02:00
POST /rest/system/reset
=======================
2015-06-13 22:34:37 +02:00
Post with empty body to erase the current index database and restart
Syncthing. With no query parameters, the entire database is erased from disk.
By specifying the ``folder`` parameter with a valid folder ID, only
information for that folder will be erased::
$ curl -X POST -H "X-API-Key: abc123" http://localhost:8384/rest/system/reset?folder=default