Skip to main content
PATCH
Update

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required

The organization's id (UUID) or slug — either form is accepted.

projectId
string
required

The project's id (UUID) or slug — either form is accepted.

cronId
string
required

Body

application/json
name
string
Pattern: ^[a-z][a-z0-9-]{1,61}$
schedule
string
timezone
string
enabled
boolean
target
object

Exactly one same-environment target: a signed project-relative HTTP invocation or a queue publication.

retry
object
concurrencyPolicy
enum<string>
Available options:
allow,
skip,
replace
timeoutSeconds
integer

Target timeout in seconds, bounded below the durable execution lease.

Required range: 1 <= x <= 840

Response

Updated cron job.

id
string
required
name
string
required
Pattern: ^[a-z][a-z0-9-]{1,61}$
environment
string
required
schedule
string
required

Five-field cron expression.

timezone
string
required

IANA timezone name. Defaults to UTC.

enabled
boolean
required
catchUp
enum<boolean>
required

Missed invocations are skipped; catch-up is not performed at launch.

Available options:
false
target
object
required

Exactly one same-environment target: a signed project-relative HTTP invocation or a queue publication.

retry
object
required
concurrencyPolicy
enum<string>
required
Available options:
allow,
skip,
replace
timeoutSeconds
integer
required

Target timeout in seconds, bounded below the durable execution lease.

Required range: 1 <= x <= 840
lastRunAt
string<date-time> | null
required
nextRunAt
string<date-time> | null
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required