---
title: "Update an existing automation"
method: PATCH
path: "/v1/tasks/{taskId}/automations/{automationId}"
tags: ["Task Automations"]
---

# Update an existing automation

`PATCH /v1/tasks/{taskId}/automations/{automationId}`

Update an existing automation in Betayum. Create, version, run, and inspect automated evidence collection workflows attached to compliance tasks.

## Path parameters

- `taskId` string, required
- `automationId` string, required

## Request body

- UpdateAutomationDto
  - `name` string — Automation name
  - `description` string — Automation description
  - `isEnabled` boolean — Whether the automation is enabled
  - `evaluationCriteria` string — Evaluation criteria for the automation
  - `scheduleFrequency` 'daily' | 'weekly' | 'monthly' | 'quarterly' | 'yearly' — Automation schedule cadence

## Response `200`

Automation updated successfully

- object
  - `success` boolean
  - `automation` object
    - `id` string
    - `name` string
    - `description` string

## Other responses

- `400` — Bad request - Invalid automation ID or data
- `401` — Unauthorized - Invalid authentication
- `404` — Automation not found

---

[API](https://skmtc.net/om-network/apis/betayum-api.md) · [All operations](https://skmtc.net/om-network/apis/betayum-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/om-network/betayum-api/versions/1c5403653ecf/schema)
