Enable and Disable Flow Instances

To enable or disable a specific Flow Instance, patch its enabled property:

await membrane
  .flowInstance(parameters.FLOW_INSTANCE_ID)
  .patch({ enabled: true })

Flow Instances are enabled by default but you can create a disabled flow instances using the enabled field e.g

await membrane
.flowInstances.create({
  enabled: false
})