Update a trigger
PATCH/v1/projects/:project_id/triggers/:trigger_id
Updates an existing trigger's configuration. The type is immutable. Changing target_type or target_id re-checks the target-start action (orchestrations:StartRun, agents:CreateAgentGeneration or tools:CallTool) against the resulting target, because a firing runs with the trigger creator's authority rather than the updater's. A caller who could not start the new target is answered 403 and the trigger keeps the target it had.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Trigger updated
Bad request
Unauthorized
Forbidden
Trigger not found