v1

latestOpenAPI 3.1.02026-07-2670105729.6 KB
Automations

Delete a trigger

Deletes a custom trigger. Refused with 409 TRIGGER_HAS_DEPENDENT_AUTOMATIONS while automations still reference it (details.referencingAutomations lists each blocker). Idempotent — an already-gone trigger resolves with deleted: false.

delete/v1/automations/triggers/{triggerEventId}

Path parameters

triggerEventIdstring required

Trigger id returned by POST /v1/automations/triggers. Custom triggers use tri_… ids; integration triggers use composite ids (e.g. clerk:org_…:brand_…:user.created, URL-encode the colons).

Example:tri_signup

Trigger id returned by POST /v1/automations/triggers. Custom triggers use tri_… ids; integration triggers use composite ids (e.g. clerk:org_…:brand_…:user.created, URL-encode the colons).

Response

Deleted (or already gone).

triggerEventIdstring required
deletedboolean required