---
title: "Delete an automation"
method: DELETE
path: "/v1/automations/{automationId}"
tags: ["Automations"]
---

# Delete an automation

`DELETE /v1/automations/{automationId}`

Cascade-deletes the automation: every version row, runs, and logs. Referenced email DESIGNS are shared resources and always survive. Idempotent — an unknown id resolves with `deleted: false`.

## Path parameters

- `automationId` string, required — Automation id returned by `POST /v1/automations` and listed by `GET /v1/automations`.

## Response `200`

Deleted (or already gone).

- AutomationsDeleteResponse
  - `automationId` string, required
  - `deleted` boolean, required

## Other responses

- `401` — The API key was missing, invalid, or revoked.
- `403` — The caller does not have the required `automations` permission.
- `429` — The request hit the rolling rate limit window.
- `500` — Unexpected internal error.

---

[API](https://skmtc.net/brew/apis/brew-public-api-v1.md) · [All operations](https://skmtc.net/brew/apis/brew-public-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/brew/brew-public-api-v1/versions/db96cfedc6c5/schema)
