## Patch Account By ID `$ clear-street v1:accounts patch-account-by-id` **patch** `/v1/accounts/{account_id}` Update account risk settings ### Parameters - `--account-id: number` Account identifier - `--risk: optional object { max_notional }` Risk settings for the account ### Returns - `V1AccountPatchAccountByIDResponse: BaseResponse` - `data: object { risk }` - `risk: optional object { max_notional }` Risk settings for the account - `max_notional: optional string` The maximum notional value available to the account ### Example ```cli clear-street v1:accounts patch-account-by-id \ --api-key 'My API Key' \ --account-id 0 ``` #### Response ```json { "data": { "risk": { "max_notional": "5000000.00" } }, "error": null, "metadata": { "request_id": "c8f3e4a5-b2c3-5d4e-9f0a-6b7c8d9e0f1a" } } ```