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}
Request
- Base URLhttps://brew.new/api
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Response
Deleted (or already gone).
Changes
No recorded changes to this operation across all 1 revision of this API.