---
title: "Update Trading Configurations for an Account"
method: PATCH
path: "/v1/trading/accounts/{account_id}/account/configurations"
tags: ["Trading"]
---

# Update Trading Configurations for an Account

`PATCH /v1/trading/accounts/{account_id}/account/configurations`

## Request

- Base URL: `https://broker-api.giftcity.sandbox.in.alpaca.markets`
- URL: `https://broker-api.giftcity.sandbox.in.alpaca.markets/v1/trading/accounts/{account_id}/account/configurations`
- Auth: HTTP basic

You can also set the margin settings for your users' account by passing a PATCH request. By default any account with funds under $2,000 is set a margin multiplier of 1.0, and accounts with over $2,000 are set to 2.0.

## Request body

- AccountConfigurations: Represents additional configuration settings for an account
  - `disable_overnight_trading` boolean: If true, overnight trading is disabled.
  - `fractional_trading` boolean: If true, account is able to participate in fractional trading
  - `max_margin_multiplier` string: Can be "1" or "2"
  - `max_options_trading_level` 0 | 1 | 2 | 3: The desired maximum options trading level. 0=disabled, 1=Covered Call/Cash-Secured Put, 2=Long Call/Put, 3=Spreads/Straddles.
  - `no_shorting` boolean: If true, account becomes long-only mode.
  - `ptp_no_exception_entry` boolean: If set to true then Alpaca will accept orders for PTP symbols with no exception. Default is false.
  - `suspend_trade` boolean: If true, new orders are blocked.
  - `trade_confirm_email` 'all' | 'none': all or none. If none, emails for order fills are not sent.

## Response `200`

Response will contain the account configuration settings for the account.

- AccountConfigurations: Represents additional configuration settings for an account
  - `disable_overnight_trading` boolean: If true, overnight trading is disabled.
  - `fractional_trading` boolean: If true, account is able to participate in fractional trading
  - `max_margin_multiplier` string: Can be "1" or "2"
  - `max_options_trading_level` 0 | 1 | 2 | 3: The desired maximum options trading level. 0=disabled, 1=Covered Call/Cash-Secured Put, 2=Long Call/Put, 3=Spreads/Straddles.
  - `no_shorting` boolean: If true, account becomes long-only mode.
  - `ptp_no_exception_entry` boolean: If set to true then Alpaca will accept orders for PTP symbols with no exception. Default is false.
  - `suspend_trade` boolean: If true, new orders are blocked.
  - `trade_confirm_email` 'all' | 'none': all or none. If none, emails for order fills are not sent.

---

[API](https://skmtc.dev/alpacahq/apis/broker-api.md) - [All operations](https://skmtc.dev/alpacahq/apis/broker-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alpacahq/apis/broker-api/revisions/381b1ecb3ccc?raw)
