## Patch Account By ID `v1.accounts.patch_account_by_id(intaccount_id, AccountPatchAccountByIDParams**kwargs) -> AccountPatchAccountByIDResponse` **patch** `/v1/accounts/{account_id}` Update account risk settings ### Parameters - `account_id: int` - `risk: Optional[RiskSettingsParam]` Risk settings for the account - `max_notional: Optional[str]` The maximum notional value available to the account ### Returns - `class AccountPatchAccountByIDResponse: …` - `data: AccountSettings` - `risk: Optional[RiskSettings]` Risk settings for the account - `max_notional: Optional[str]` The maximum notional value available to the account ### Example ```python from clear_street import ClearStreet client = ClearStreet( api_key="My API Key", ) response = client.v1.accounts.patch_account_by_id( account_id=0, ) print(response) ``` #### Response ```json { "data": { "risk": { "max_notional": "5000000.00" } }, "error": null, "metadata": { "request_id": "c8f3e4a5-b2c3-5d4e-9f0a-6b7c8d9e0f1a" } } ```