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

# Delete an automation

`DELETE /automations/{automation_id}`

## Request

- Base URL: `https://api.motion.so/api/motion`
- URL: `https://api.motion.so/api/motion/automations/{automation_id}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://mcp.motion.so/oauth/authorize`
    - Token URL: `https://mcp.motion.so/oauth/token` scopes: `motion:automations:write`
- TypeScript: <https://skmtc.dev/motion/apis/mosaic-motion/docs/automations/:automation_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes the saved definition. Does not cancel work already running in a Motion chat. Requires motion:automations:write for OAuth tokens. API keys use the owner account permissions. Automation access must be enabled for the account and environment. See /guides/automations. Automations execute only with GVA; Claude supports reads, pause, and delete only.

## Path parameters

- `automation_id` string, required

## Response `200`

Success

- AutomationDeleted
  - `deleted` true, required

## Other responses

- `400`: Invalid input or cursor; read the error message.
- `401`: Missing, invalid, or wrong-audience credential.
- `403`: Missing OAuth scope, account automation access, or engine access.
- `404`: Unavailable environment, or automation/run not owned by this account.
- `503`: Temporarily unavailable; retry later.

## Changes

- **2026-10-20** `075b364b747d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/motion/apis/mosaic-motion/changes/automations/:automation_id/delete.md)

---

[API](https://skmtc.dev/motion/apis/mosaic-motion.md) - [All operations](https://skmtc.dev/motion/apis/mosaic-motion/llms.txt) - [OpenAPI document](https://skmtc.dev/motion/apis/mosaic-motion/revisions/075b364b747d?raw)
