---
title: "GET /private/change_margin_model"
method: GET
path: "/private/change_margin_model"
tags: ["Account Management", "Private"]
---

# GET /private/change_margin_model

`GET /private/change_margin_model`

Changes the margin model for the authenticated account or a specified subaccount. Margin models determine how margin requirements are calculated (e.g., Standard Margin vs. Portfolio Margin).

Changing the margin model may affect margin requirements, available funds, and trading capabilities. Use the `dry_run` parameter to preview the impact of the change before applying it.

**📖 Related Article:** [Margin types and usage](https://support.deribit.com/hc/en-us/articles/25944811317149-Margin-types-and-usage)

**Scope:** `account:read_write`

[Try in API console](https://test.deribit.com/api_console?method=%2Fprivate%2Fchange_margin_model)

## Query parameters

- `user_id` integer
- `margin_model` 'cross_pm' | 'cross_sm' | 'segregated_pm' | 'segregated_sm', required
- `dry_run` boolean

## Response `200`

Success response

- PrivateChangeMarginModelResponse
  - `jsonrpc` '2.0', required — The JSON-RPC version (2.0)
  - `id` integer — The id that was sent in the request
  - `result` object[], required
    - `old_state` object, required — Represents portfolio state before change
      - `maintenance_margin_rate` number, required — Maintenance margin rate before change
      - `initial_margin_rate` number, required — Initial margin rate before change
      - `available_balance` number, required — Available balance before change
    - `new_state` object, required — Represents portfolio state after change
      - `maintenance_margin_rate` number, required — Maintenance margin rate after change
      - `initial_margin_rate` number, required — Initial margin rate after change
      - `available_balance` number, required — Available balance after change
    - `currency` 'BTC' | 'ETH' | 'USDC' | 'USDT' | 'EURR', required — Currency, i.e `"BTC"`, `"ETH"`, `"USDC"`

---

[API](https://skmtc.net/deribit/apis/deribit-api-2.md) · [All operations](https://skmtc.net/deribit/apis/deribit-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deribit/deribit-api-2/versions/430b3f0bc67c/schema)
