v1
protected
triggers

Disable Trigger

Disable a trigger.

Disables the specified trigger, preventing it from executing. For cron triggers, this will pause the schedule.

Args: trigger_id: The unique identifier of the trigger user_context: Authentication context trigger_service: Injected trigger service

Returns: Success status

Raises: HTTPException: If trigger not found

post/v1/workspaces/{workspace}/triggers/{trigger_id}/disable

Path parameters

trigger_idstring uuid required
workspacestring required

Slug of the workspace the request acts in

Slug of the workspace the request acts in

Response

Successful Response

object required

Changes

Changed in 1 of the 45 revisions of this API.1