Update Trigger
Update an existing trigger.
Updates the specified trigger with the provided data. Only non-null fields in the request will be updated. If channel_credentials are provided, they replace the existing credentials in the secret store.
Args: trigger_id: The unique identifier of the trigger. payload: Trigger update DTO (single source of truth shared with MCP toolset). user_context: Authentication context. trigger_service: Injected trigger service. secret_manager: Injected secret manager for credential storage.
Returns: The updated trigger.
Raises: HTTPException: If trigger not found or validation fails.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
Patch payload for a trigger. All fields optional — unset = unchanged.
Channel credentials to update. Pass to rotate credentials.
1000Toggle the trigger active state. Maps to is_active server-side. REST clients may pass either enabled (canonical) or is_active (alias).
1 <= x <= 1001 - 255Response
Successful Response
Response model for trigger data.