Add "disabled" property to deployments #14529
Labels
3.x
api
Related the Prefect REST API
enhancement
An improvement of an existing feature
feature
A new feature
First check
Prefect Version
3.x
Describe the current behavior
Currently deployments have
paused
but this impacts only schedules and their associated flow runs.,Describe the proposed behavior
Add
disabled
property to deployment which disables all flow run creation mechanisms for that deployment.disabled
property on Deployment/disable
and/enable
create_flow_run
for a disabled deployment returns an error/disable
is called, we delete the scheduled runs for the deploymentdisabled
deploymentsEditing schedules for aDecided against implementingdisabled
deployment returns an errorExample Use
No response
Additional context
For the Prefect team: https://www.notion.so/prefect/Enabling-Disabling-Deployments-9c482ed8fedb434cba8043a44e106069
The text was updated successfully, but these errors were encountered: