update_trading_connection
Update a trading connection's display label or write-only provider credentials. Credential changes that would loosen access are refused because they restart the trading runtime.
Instructions
Update a trading connection label or write-only credentials. A credential change is refused with loosening_refused, as it restarts the trading runtime and so brings unavailable connections back. Mutates Officer control-plane config; protected and disabled by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional display label; omitted keeps the stored value | |
| connection | Yes | Trading connection id | |
| credentials | No | Optional write-only provider credential object; Alpaca and Binance both use {apiKey, apiSecret} (Binance: an HMAC key pair); IB uses {host, port, clientId?}; eToro uses {apiKey, userKey}; omitted keeps the stored value |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | Yes |