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

# GET /private/remove_subaccount

`GET /private/remove_subaccount`

Permanently removes a subaccount. The subaccount must be empty (no positions, no open orders, and zero balance) before it can be removed.

This operation cannot be undone. All subaccount data will be permanently deleted.

**[TFA required](https://docs.deribit.com/articles/security-keys)**

**📖 Related Article:** [Managing Subaccounts](https://docs.deribit.com/articles/managing-subaccounts-api)

**Scope:** `account:read_write`

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

## Query parameters

- `subaccount_id` integer, required

## Response `200`

Success response

- OkResponse
  - `jsonrpc` '2.0', required — The JSON-RPC version (2.0)
  - `id` integer — The id that was sent in the request
  - `result` 'ok', required — Result of method execution. `ok` in case of success

---

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