---
title: "Update Automation Status"
method: PATCH
path: "/accounts/{account_id}/automations/{automation_id}"
tags: ["Automations"]
---

# Update Automation Status

`PATCH /accounts/{account_id}/automations/{automation_id}`

Disable or archive an Automation

## Path parameters

- `account_id` string, required — ID of the resource
- `automation_id` string, required — ID of the resource

## Request body

- UpdateAutomationStatus
  - `status` 'disabled' | 'archived', required

## Response `200`

OK

- AutomationResponse
  - `brand` AutomationBrandData
    - `account_id` string, required
  - `created_at` string, date-time — ISO-8601 timestamp that includes date and time
  - `destination` AutomationDestination, required
    - `address_id` string
    - `financial_institution_id` string
    - `transfer_type` string, required
    - `value_type` string, required
  - `id` string — ID of the resource
  - `name` string, required
  - `source` AutomationSourceWithFundingInstructions, required
    - `transfer_type` string
    - `value_type` string, required
    - `funding_instructions` FundingInstructions
      - `account_number` string, required
      - `bank_address` string, required
      - `bank_name` string, required
      - `beneficiary_address` string, required
      - `beneficiary_name` string, required
      - `routing_number` string, required
  - `status` 'pending' | 'active' | 'disabled' | 'archived', required
  - `updated_at` string, date-time — ISO-8601 timestamp that includes date and time

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `502` — Upstream service error

---

[API](https://skmtc.net/brale/apis/brale-api.md) · [All operations](https://skmtc.net/brale/apis/brale-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/brale/brale-api/revisions/7446d49997c2/schema)
