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

# Update Automation

`PUT /v1/automations/{id}`

## Request

- Base URL: `https://api.oviond.com`
- URL: `https://api.oviond.com/v1/automations/{id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Update automation schedule and notification settings

## Path parameters

- `id` string, required

## Request body

- UpdateAutomationRequest
  - `name` string
  - `frequency` 'daily' | 'weekly' | 'monthly'
  - `hours` string
  - `minutes` string
  - `timezone` string
  - `time_format` 'AM' | 'PM'
  - `recipients` string[]
  - `template_id` string
  - `sender_id` string
  - `custom` object
    - `name` string, required
    - `subject` string, required
    - `message` string, required
    - `button_text` string, nullable
    - `button_top` boolean
  - `date_text` 'Today' | 'Yesterday' | 'Last 7 Days' | 'Last 30 Days' | 'Last 60 Days' | 'Last Month' | 'This Month' | 'Last 2 Months' | 'Last 3 Months' | 'Last 12 Months' | 'This Year' | 'Last Year'
  - `day` string

## Response `200`

Automation updated

- SuccessResponse
  - `success` true, required

## Other responses

- `404`: Automation or report not found

---

[API](https://skmtc.dev/oviond/apis/oviond-backend-api.md) · [All operations](https://skmtc.dev/oviond/apis/oviond-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/oviond/apis/oviond-backend-api/revisions/4cb0a07daf41?raw)
