API · Automations
Delete Automation
Delete an automation and stop its execution (requires full access). Run history is removed after deletion.
DELETE
/automations/{automation_id}Full accessRequest parameters
| Parameter | Type | Description |
|---|---|---|
automation_idpath · required | string | The ID of the automation. |
Request example
Set OPENSEND_BASE_URL=https://api.example.com and OPENSEND_API_KEY=os_replace_me on your server.
bash
curl -X DELETE "$OPENSEND_BASE_URL/automations/YOUR_automation_id" \
-H "Authorization: Bearer $OPENSEND_API_KEY"Response
200 · application/json. Example IDs stand for IDs returned by your installation.
json
{
"object": "automation",
"id": "YOUR_ID",
"deleted": true
}Behavior and errors
Deletion immediately fences execution and schedules cleanup. It cannot recall a message already submitted to SES.
Use a full-access credential. Unknown or foreign resources return 404. See authentication, errors, rate limits, and pagination.