triggers

Update Trigger

Require the current version and replace supplied non-null root fields.

Region changes must be admitted by the org and declared in Task.regions. Implicit Tasks initially declare only their creation region; this endpoint does not widen Task availability when changing the trigger region.

patch/triggers/{trigger_id}

Request

  • Base URL: https://api.cloud.wherobots.com
  • URL: https://api.cloud.wherobots.com/triggers/{trigger_id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

trigger_idstring required

Request body

versioninteger required
namestring nullable
triggerInputsobject nullable
regionstring nullable
runAsstring nullable
notificationEmailsstring[] nullable

Response

Successful Response

triggerIdstring required
namestring required
triggerInputsobject required
regionstring required
triggerKind'schedule'
runAsstring nullable required
notificationEmailsstring[] required
versioninteger required
state'ARCHIVED' | 'AUTO_DISABLED' | 'PAUSED' | 'ACTIVE' required
nextFireTimestring date-time nullable required
specEffectiveFromstring date-time required
lastSyncedAtstring date-time nullable required
convergedboolean
lastRunStatestring nullable required
consecutiveFailureCountinteger required
canRunNowboolean required

Reflects caller authorization only, not execution admission.

Changes

No recorded changes to this operation across all 1 revision of this API.