update_account
Change an account's code and title, clear the title with an empty value, and reject code changes when the account is blocked or restricted by limits.
Instructions
Change an account's code and title; the title replaces the stored one and an empty title clears it. A code change is refused with loosening_refused when the account is blocked, when it is in a blocked group or in a group with a group-scoped Spot Funds P&L bound, or when it carries a rate-limit, order-size or Spot Funds P&L barrier of its own. Mutates Officer control-plane config; protected and disabled by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | New account code; equal to account to keep it | |
| title | Yes | New account title, replacing the stored one; empty clears it | |
| account | Yes | Current account code |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes |