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

# Update Automation Destination

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

## Request

- Base URL: `https://api.brale.xyz`
- URL: `https://api.brale.xyz/accounts/{account_id}/automations/{automation_id}/destination`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://auth.brale.xyz/oauth2/token` scopes: `automations:write`

Changes the address an Automation sends its funds to. The destination token and chain cannot be changed. **Archived** automations return **409**.

## Path parameters

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

## Request body

- UpdateAutomationDestination
  - `address_id` string, required: ID of the resource

## 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
- `409`: Conflict
- `422`: Unprocessable Entity

## Changes

- **2026-10-21** `f0f66b4df0e2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/brale/apis/brale-api/changes/accounts/:account_id/automations/:automation_id/destination/patch.md)

---

[API](https://skmtc.dev/brale/apis/brale-api.md) - [All operations](https://skmtc.dev/brale/apis/brale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brale/apis/brale-api/revisions/3378b8f911e0?raw)
