Disable trigger

PATCH/v1/triggers/{triggerId}/disable

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
triggerIdpathstringYesTrigger ID
Query parameters
None.

Body schema

This endpoint does not require a request body.

None.

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Trigger disabledapplication/json
FieldTypeRequiredDescription
triggerobjectNo
trigger.idstringNoUnique identifier.
trigger.userIdstringNoUser ID.
trigger.namestringNoHuman-readable name.
trigger.environmentIdstringNoComputer ID.
trigger.agentIdstringNoAgent ID.
trigger.sourcegithub | slack | email | webhook | cron | customNo
trigger.eventstringNo
trigger.filtersobjectNo
trigger.actionobjectNo
trigger.action.typesend_messageYes
trigger.action.promptstringNoPrompt passed into the trigger execution thread.
trigger.action.messagestringNoBackward-compatible alias for `prompt`.
trigger.action.templatestringNoLegacy template field. Use `prompt` for new integrations.
trigger.enabledbooleanNo
trigger.webhookSecretstringNo
trigger.webhookUrlstringNo
trigger.lastTriggeredAtstringNo
trigger.createdAtstringNoISO 8601 timestamp.
trigger.updatedAtstringNoISO 8601 timestamp.
Disable trigger
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow