JLu
09/23/2025, 5:04 PMMarvin
09/23/2025, 5:05 PMMarvin
09/23/2025, 5:10 PM# list deployments for a given flow
prefect deployment ls --flow-name "my_flow"
# for each deployment, list schedules and pause them (replace values accordingly)
prefect deployment schedule ls "my-flow/my-deployment"
prefect deployment schedule pause "my-flow/my-deployment" <SCHEDULE_ID>
CLI help:
- prefect work-pool
- prefect deployment schedule
supports ls
, pause
, resume
, clear
(we verified via --help
)
Would you like to stop just scheduled runs, or block all new runs entirely? If it’s the latter and your deployments share a pool, pausing the pool in the UI is the quickest single action.