- Delete Automation
Add Decision Action
Add Email Action
Add Exit Action
Add Facebook-Audience Action
Add Detect-Gender Action
Add Goto Action
Add Goal Action
Add Detect-Name Action
Add Notification-Email Action
Add Notification-Sms Action
Add Outbound Action
Add Restart Action
Add Set-Field Action
Add SMS Action
Add Split-Test Action
Add Start-Automation Action
Add Stop-Automation Action
Add Tag Action
Add Unsubscribe Action
Add Untag Action
Add Wait Action
Copy Automation Action
Create Automation Draft
Delete Automation Action
Delete Automation Draft
Estimate Initial Automation Audience
Read Automation
Read Automation Capabilities
Read Automation Statistics
Get Marketing Campaign Template
Read Waiting Contact Counts
Get Campaign Dependencies
Get Contact Marketing Campaign Status
Import Marketing Campaign Template
Move Automation Action
Move Automation Contacts
Move Contact Past Marketing Campaign Wait
Prepare Automation Activation
Find Automation References
Search Marketing Campaign Templates
Search Automations
Stop Automation
Update Decision Action
Update Automation Draft Settings
Update Email Action
Update Exit Action
Update Facebook-Audience Action
Update Detect-Gender Action
Update Goto Action
Update Goal Action
Update Detect-Name Action
Update Notification-Email Action
Update Notification-Sms Action
Update Outbound Action
Update Restart Action
Update Set-Field Action
Update SMS Action
Update Split-Test Action
Update Start Action
Update Start-Automation Action
Update Stop-Automation Action
Update Tag Action
Update Unsubscribe Action
Update Untag Action
Update Wait Action
Validate Automation
Delete Automation
Tool name: delete-automation
Deletes an automation that is neither active nor scheduled, including waiting contacts, statistics, system tags and goal history, without undo. With contact history the first call is refused with counts; repeat with deleteContactHistory=true. Other dependencies block deletion. Referenced emails remain. Stop an active automation first with stop-automation.
true only after the user agreed to lose its contact history; the first refusal names it
Default:false
Input example
{ "automationId": 1, "revision": "string", "confirm": false, "deleteContactHistory": false, "accountId": null }
Output example
{ "accountId": 0, "automationId": 0, "deleted": true, "startedContacts": 0, "finishedContacts": 0, "activeContacts": 0 }