Update Schedule Trigger

Update a schedule trigger’s cadence, payload or status.

status accepts draft, disabled or enabled — a disabled trigger keeps its configuration but stops firing.

Authentication

AuthorizationBearer

API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.

OR
AuthorizationBearer

API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.

Path parameters

org_idstringRequiredformat: "uuid"
The organization ID
project_idstringRequiredformat: "uuid"
The project ID
trigger_idstringRequiredformat: "uuid"

Request

This endpoint expects an object.
namestring or nullOptional1-63 characters
descriptionstring or nullOptional<=255 characters
statusenum or nullOptional
Lifecycle status for triggers.
cron_expressionstring or nullOptional<=255 characters
timezonestring or nullOptional<=63 characters
task_inputmap from strings to any or nullOptional
expires_atdatetime or nullOptional
task_agent_revision_idstring or nullOptionalformat: "uuid"

Response

Schedule trigger updated successfully
idstringformat: "uuid"
target_typeenum
Target resource type for trigger execution.
target_idstringformat: "uuid"
namestring
statusenum
Lifecycle status for triggers.
cron_expressionstring
timezonestring
createdstring
modifiedstring
created_by_user_idstringformat: "uuid"
task_agent_revision_idstring or nullformat: "uuid"
trigger_type"schedule"Defaults to schedule
descriptionstring or null
task_inputmap from strings to any or null
next_run_atstring or null
last_run_atstring or null
expires_atstring or null

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error