# Disable workflows via API

**URL:** <https://community.hubspot.com/t/disable-workflows-via-api/14782>\
**Category:** APIs & Integrations\
**Tags:** workflows\
**Created:** [June 13, 2019, 9:35pm UTC](https://community.hubspot.com/t/disable-workflows-via-api/14782 "2019-06-13T21:35:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vaka](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/vaka/32/102384_2.png) [@Vaka](https://community.hubspot.com/u/Vaka)\
**Post date:** [June 13, 2019, 9:35pm UTC](https://community.hubspot.com/t/disable-workflows-via-api/14782/1 "2019-06-13T21:35:01Z")

</div>

Is it possible to disable a specific workflow via API?

---

<div class="post-metadata">

**Author:** ![Willson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/willson/32/84663_2.png) [@Willson](https://community.hubspot.com/u/Willson)\
**Post date:** [June 14, 2019, 10:39am UTC](https://community.hubspot.com/t/disable-workflows-via-api/14782/2 "2019-06-14T10:39:38Z")

</div>

Hi @Vaka,

Currently, it is not possible to disable a workflow via the Workflows API, the only actions to edit a workflow are status are done using the following:

- [Create a workflow](https://developers.hubspot.com/docs/methods/workflows/v3/create_workflow)
- [Delete a workflow](https://developers.hubspot.com/docs/methods/workflows/v3/delete_workflow)

Other workflow endpoints can be utilised to:

1. Enroll & unenroll contacts
2. Fetch workflow data
3. View current enrolls
4. Log events
5. and more…

You can find all the endpoints available for Workflows in our [Workflows API Documentation here](https://developers.hubspot.com/docs/methods/workflows/workflows_overview).

Thanks,

Matt

---

<div class="post-metadata">

**Author:** ![Vaka](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/vaka/32/102384_2.png) [@Vaka](https://community.hubspot.com/u/Vaka)\
**Post date:** [June 14, 2019, 6:18pm UTC](https://community.hubspot.com/t/disable-workflows-via-api/14782/3 "2019-06-14T18:18:07Z")

</div>

I thought so from stuyind the API documentation. Just wanted to be sure.  
Is there any particular reason that I can delete, but not disable or edit?

---

<div class="post-metadata">

**Author:** ![Willson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/willson/32/84663_2.png) [@Willson](https://community.hubspot.com/u/Willson)\
**Post date:** [June 19, 2019, 7:16am UTC](https://community.hubspot.com/t/disable-workflows-via-api/14782/4 "2019-06-19T07:16:15Z")

</div>

Hi @Vaka,

There isn’t a specific reason as to why we do not allow this rather, we do not have the functionality created and released as of yet.

Thanks,

Matt

---

<div class="post-metadata">

**Author:** ![mathcee](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mathcee/32/33450_2.png) [@mathcee](https://community.hubspot.com/u/mathcee)\
**Post date:** [January 3, 2020, 9:40pm UTC](https://community.hubspot.com/t/disable-workflows-via-api/14782/5 "2020-01-03T21:40:09Z")

</div>

Hi @Willson  
Any chance this turns into an idea? Gets put into a roadmap?  
It’d be really useful, and seems like it should already be possible, given that we can delete and create WFs already.
