Delete an automation trigger
DELETE /automations/{automationUuid}/automation_triggers/{uuid}
/automations/{automationUuid}/automation_triggers/{uuid}Permanently removes a trigger. The automation stops starting from that event.
When to use: When an automation should no longer start that way, or to replace a trigger by one of another type: delete it and create the new one.
When not to use: To stop it only for a while, use automation_trigger_pause. To delete the whole automation, use delete_automation.
Side effects: The runs of contacts that entered through this trigger are deleted with it, so they disappear from the automation counters and from list_automation_queues. Because their runs disappear, those contacts are also forgotten by the "each contact runs once" rule of the automation.
Permissions: Requires the author role or higher, or the marketing.automations.write capability.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the automation, as returned by list_automations.
UUID of the trigger, as returned by list_automation_triggers.
Response Body
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://api.easymailing.com/automations/0df14405-90ff-4287-b3e4-ef088901ee6f/automation_triggers/9c2e7a14-6b3d-4d58-8f1a-5e0b3a7c4d21" \ -H "X-Auth-Token: YOUR_API_KEY"