# automation.remove

Source: https://docs.lightair.app/developers/remote-api/automation.remove

> Removes an automation.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Automations. Script plugins need the `project.write` permission.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `automation` | `string` | yes | Its id or name. |

## Errors

Not found (-32004) for an unknown automation.

## From an AI agent

The MCP server's `remove_automation` reaches this method.

## Related

- [automation.set](https://docs.lightair.app/developers/remote-api/automation.set.md)
