Deployments

Pause Deployment

Set a deployment schedule to inactive. Any auto-scheduled runs still in a Scheduled state will be deleted.

post/api/deployments/{id}/set_schedule_inactive

Path parameters

idstring uuid required

The deployment id

The deployment id

Headers

x-prefect-api-versionstring

Response

Successful Response

{"stackTrail":"paths:/api/deployments/{id}/set_schedule_inactive:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 1 of the 50 revisions of this API.1

    • api operation id set_schedule_inactive_deployments__id__set_schedule_inactive_post removed and replaced with pause_deployment_deployments__id__set_schedule_inactive_post

      api-operation-id-removed