You need to send a PATCH to /rest/config/folders/*id*, where you replace *id* with the id of your folder and as data payload you send {"paused": true}.
There’s no v1.13.5 - however I guess whatever it is, it’s >v1.12.0 which is the relevant bit. There’s unfortunately no history on docs.syncthing.net, however it also doesn’t change that much. Before v1.12.0 there just was a single /rest/system/config endpoint.
I only got one problem with this: pausing/resuming works fine but both resets the “rescanIntervalS” for my folders to 3600 - no matter what I configured earlier. Is Syncthing supposed to do this?
It is easy to reproduce (Syncthing v2.0.8 on Linux here): Set the “Full Rescan Interval (s)” using the Webinterface to 7200 or any other value, save changes. Verify that changes are written to .config/syncthing/config.xml (that does work for me). Then run: curl -k -X PATCH -H “X-API-Key: foobar” ``https://localhost:8384/rest/config/folders/“xxxxx-xxxxx”`` -d ‘{ “paused”: true }’"
Check again the Webinterface: The folder is paused as expected but “Full Rescan Interval (s)” will be 1h/3600s again. Sadly I have no idea where this 3600 comes from because my configured folder default is another value.