How to pause/resume syning of specific folder?

I tried to use PATCH /rest/config/folders/:folderId with { paused: true } payload. But it always returns 404 Not Found error.

Try '{"paused": true}'

curl -k -X PATCH -H 'X-API-Key: ...' https://localhost:8384/rest/config/folders/xxxxx-xxxxx -d '{"paused": true}'

I got 404 error. I used v 1.30 rc1

Now it is working. 404 was my fault