Skip to main content
PATCH
Update cron job

Authorizations

Authorization
string
header
required

Session access JWT or an API token (insta_<prefix>_<secret>).

Headers

if-match
string
required

the job’s current revision

Path Parameters

projectId
string<uuid>
required
id
string<uuid>
required

Body

application/json
name
string
Required string length: 1 - 64
expression
string
Required string length: 1 - 256
enabled
boolean

false pauses the job; in-flight runs are blocked at the send boundary

target
object

Where the job sends its request. An internal target names the SERVICE, never a URL: the worker resolves the live route at send time, so a redeploy or a region move cannot leave a job firing at a dead host.

request
object

Stored encrypted; its VALUES are never returned. Send the whole object to replace it — reads answer with request (method and header names only).

requestTimeoutMs
integer
Required range: 1000 <= x <= 300000
retry
object

Response

Default Response

job
object
required

A cron schedule. Header values are write-only; request describes the stored request without them.