Quick question: Is there a way to programmatically create / update a deployment, say via
.build_from_flow
, but keep it disabled / turned off, similar to how we can turn them off via the UI?
✅ 1
r
Rob Freedy
12/20/2022, 3:54 PM
Hey @Kelvin DeCosta!! When you say "turned off", do you mean that there is no schedule applied? Once the flow is deployed (assuming there is no schedule), then it shouldn't run unless you run it from the UI. If there is a schedule applied when you deploy it but you want to delete the scheduled runs, I believe you can use the set schedule inactive REST endpoint