---
title: "Update Automation"
method: PUT
path: "/api/v1/automations/{automation_id}"
tags: ["automations"]
---

# Update Automation

`PUT /api/v1/automations/{automation_id}`

## Path parameters

- `automation_id` string, uuid, required

## Request body

- AutomationUpdate
  - `name` string, required
  - `description` string, nullable
  - `enabled` boolean, required
  - `trigger_config` object, required
  - `subject_config` object, required
  - `delivery_config` object, required

## Response `200`

Successful Response

- AutomationRead
  - `id` string, uuid, required
  - `kind` 'scheduled_report' | 'threshold_alert', required
  - `name` string, required
  - `description` string, nullable, required
  - `enabled` boolean, required
  - `trigger_config` object, required
  - `subject_config` object, required
  - `delivery_config` object, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

## Changes

> 23 revisions in range; 1 not diffed.

- **2026-09-03** `d65b8fefae34` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/getanana/apis/cleon-api/changes/api/v1/automations/:automation_id/put.md)

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getanana/apis/cleon-api/revisions/0b211d6e9f84?raw)
