PATCH
/
api
/
deployments
/
{id}
/
schedules
/
{schedule_id}

Headers

x-prefect-api-version
string

Path Parameters

id
string
required

The deployment id

schedule_id
string
required

The schedule id

Body

application/json

The updated schedule

active
boolean | null

Whether or not the schedule is active.

schedule
object | null

The schedule for the deployment.

max_scheduled_runs
integer | null

The maximum number of scheduled runs for the schedule.

Required range: x > 0