# Is there an API to pause a folder?

**URL:** https://forum.syncthing.net/t/is-there-an-api-to-pause-a-folder/16310
**Category:** Development
**Created:** [February 5, 2021, 1:15pm UTC](https://forum.syncthing.net/t/is-there-an-api-to-pause-a-folder/16310 "2021-02-05T13:15:32Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![imsodin](https://forum.syncthing.net/user_avatar/forum.syncthing.net/imsodin/32/3317_2.png) [@imsodin](https://forum.syncthing.net/u/imsodin)
#### Post date: [February 5, 2021, 1:28pm UTC](https://forum.syncthing.net/t/is-there-an-api-to-pause-a-folder/16310/2 "2021-02-05T13:28:19Z")

</div>

The endpoint would be /rest/config/folders, and there could probably be an example for how to pause a folder there: [Config Endpoints — Syncthing v1 documentation](https://docs.syncthing.net/rest/config.html#rest-config-folders-id-rest-config-devices-id)

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}`.

---

_[View the full topic](https://forum.syncthing.net/t/is-there-an-api-to-pause-a-folder/16310)._
