Skip to main content
Archive an automation when it is no longer needed. Archiving permanently closes the automation’s virtual account — no further deposits will be processed for the automation.
Archived is a terminal state. An archived automation cannot be re-enabled.
PATCH https://api.brale.xyz/accounts/{account_id}/automations/{automation_id} Required scope: automations:write

Path parameters

Request body

Request

Responses

200 OK

Returns the full Automation object with status: "archived".
Response

404 Not Found

Automation not found or not owned by the account.

422 Unprocessable Entity

Invalid status transition (for example, the automation is already archived).