Skip to main content
PATCH
Update a cron trigger

Authorizations

hookie_session
string
cookie
required

The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.

Path Parameters

project_id
string
required
cron_trigger_id
string
required

Body

application/json
name
string
Required string length: 1 - 80
enabled
boolean
schedule
string

As on create, including the 5-minute floor.

timezone
string

IANA time zone.

payload

As on create.

dataset
string | null

Response

Updated.

ok
enum<boolean>
required
Available options:
true
cron_trigger
object
required

The trigger as the list returns it, after the change.

next_runs
string<date-time>[]
required

The next three fire times; empty while paused.