Disable workflows via API

SOLVE
Occasional Contributor

Is it possible to disable a specific workflow via API?

1 Accepted solution

Accepted Solutions
Highlighted
HubSpot Moderator

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:

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.

 

Thanks,

Matt

Matthew Willson

HubSpot Developer Support
Reply
0 Upvotes
4 Replies 4
Highlighted
HubSpot Moderator

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:

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.

 

Thanks,

Matt

Matthew Willson

HubSpot Developer Support
Reply
0 Upvotes
Highlighted
Occasional Contributor

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?

Reply
0 Upvotes
Highlighted
HubSpot Moderator

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

Matthew Willson

HubSpot Developer Support
Reply
0 Upvotes
Highlighted
Occasional Contributor

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.

Reply
0 Upvotes