POST /rest/system/resetΒΆ

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=ab1c2-def3g

Caution: See --reset-database for .stfolder creation side-effect and caution regarding mountpoints.