## Delete an automation

**delete** `/v1/automations/{id}`

> [!WARNING]
This endpoint is in beta and isn't available to every workspace yet. Its parameters and response schemas may change, including breaking changes.

Deletes an automation, turns off its triggers and dismisses the runs it has waiting for review. This cannot be undone; deleting it again returns 404.

Requires an API key whose user is a workspace owner or admin.

**[Required scope](/using-the-api/scopes/):** `automations:delete`

**[Rate limit category](/using-the-api/rate-limits/):** Write

### Path Parameters

- `id: string`

  Unique identifier of the automation to delete.

### Body Parameters

- `body: optional object {  }`

### Returns

- `AutomationDeleteResponse object { id, deleted, objectType }`

  - `id: string`

  - `deleted: boolean`

    Always `true`.

  - `objectType: "automation"`

    - `"automation"`

### Example

```http
curl https://api.lightfield.app/v1/automations/$ID \
    -X DELETE \
    -H 'Lightfield-Version: 2026-03-01' \
    -H "Authorization: Bearer $API_KEY"
```

#### Response

```json
{
  "id": "id",
  "deleted": true,
  "objectType": "automation"
}
```
