Delete an automation
DELETE/api/v1/automations/{id}
DELETE /automations/{id}
curl -X DELETE 'https://www.unitpost.com/api/v1/automations/atm_123' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'User-Agent: my-app/1.0'Deletes the automation for good: it can't be undone, and it is gone from every list and read (its run history ages out as usual). To switch one off and keep it restorable, archive it instead. An archived automation is deleted with whatever it still has going; any other is refused while runs are in progress: archive it (which cancels them) or cancel them first (POST /automations/{id}/runs/cancel). Pausing holds runs, it doesn't finish them. Requires the automations:write capability.
Parameters1 field
| Field | Type | Description |
|---|---|---|
idrequired | string · path | — |
204401403404409