Automations

Update Automation Destination

Changed on

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

patch/accounts/{account_id}/automations/{automation_id}/destination

Request

  • Base URL
    https://api.brale.xyz
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://auth.brale.xyz/oauth2/token scopes: automations:write

Path parameters

account_idstring required

ID of the resource

Example:2VZvtmVc2j3gQ80CTlcuQXbGrwC

Account ID

automation_idstring required

ID of the resource

Example:2VZvtmVc2j3gQ80CTlcuQXbGrwC

Automation ID

Request body

address_idstring required

ID of the resource

Example request

{
  "address_id": "2VZvtmVc2j3gQ80CTlcuQXbGrwC"
}

Response

OK

created_atstring date-time

ISO-8601 timestamp that includes date and time

idstring

ID of the resource

namestring required
status'pending' | 'active' | 'disabled' | 'archived' required
updated_atstring date-time

ISO-8601 timestamp that includes date and time

Example response

{
  "created_at": "2020-01-01T12:00:00Z",
  "id": "2VZvtmVc2j3gQ80CTlcuQXbGrwC",
  "updated_at": "2020-01-01T12:00:00Z"
}

Changes