# Disable flow automatically

**URL:** <https://connective.celigo.com/t/disable-flow-automatically/680>\
**Category:** Integrator.io\
**Tags:** flow-builder\
**Created:** [August 18, 2022, 4:42pm UTC](https://connective.celigo.com/t/disable-flow-automatically/680 "2022-08-18T16:42:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexanderukader](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@alexanderukader](https://connective.celigo.com/u/alexanderukader)\
**Post date:** [August 18, 2022, 4:42pm UTC](https://connective.celigo.com/t/disable-flow-automatically/680/1 "2022-08-18T16:42:15Z")

</div>

Hello,

I need to find a way how we can disable and enable (On/Off) flow automatically. I was trying to use API but there are now option to Disable/Enable.

Maybe someone have an idea how to achive that? Or we can't do it at all?

---

<div class="post-metadata">

**Author:** ![anithaabraham](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/anithaabraham/32/6964_2.png) [@anithaabraham](https://connective.celigo.com/u/anithaabraham)\
**Post date:** [August 30, 2022, 4:49am UTC](https://connective.celigo.com/t/disable-flow-automatically/680/2 "2022-08-30T04:49:00Z")

</div>

@alexanderukader, I've moved your post from "Welcome to our community" to the "Troubleshoot custom flows" forum so that you get an answer more quickly. Your post [URL](https://connective.celigo.com/t/disable-flow-automatically/680) will remain the same. Thanks!

---

<div class="post-metadata">

**Author:** ![sachingoud87](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@sachingoud87](https://connective.celigo.com/u/sachingoud87)\
**Post date:** [August 30, 2022, 5:49am UTC](https://connective.celigo.com/t/disable-flow-automatically/680/3 "2022-08-30T05:49:08Z")

</div>

Hi Alexander,  
You can make a PUT call by changing the "disabled" field to **true.**

**Example:**

```
PUT https://api.integrator.io/v1/flows/{ "_id": "", "lastModified": "2022-08-30T05:40:41.780Z", "name": "orderful", "disabled": true, "_integrationId": "xx", "skipRetries": false, "pageProcessors": [{ "responseMapping": { "fields": [], "lists": [] }, "type": "import", "_importId": "xx" } ], "pageGenerators": [{ "_exportId": "xx", "skipRetries": false }], "createdAt": "2022-07-14T11:38:44.000Z", "free": false, "_sourceId": "xx", "autoResolveMatchingTraceKeys": true}
```
