---
title: "Delete Order Group"
method: DELETE
path: "/portfolio/order_groups/{order_group_id}"
tags: ["order-groups"]
---

# Delete Order Group

`DELETE /portfolio/order_groups/{order_group_id}`

## Request

- Base URL: `https://external-api.kalshi.com/trade-api/v2`
- URL: `https://external-api.kalshi.com/trade-api/v2/portfolio/order_groups/{order_group_id}`
- Auth: API key in header `KALSHI-ACCESS-KEY` and API key in header `KALSHI-ACCESS-SIGNATURE` and API key in header `KALSHI-ACCESS-TIMESTAMP`

Deletes an order group and cancels all orders within it. This permanently removes the group.

## Path parameters

- `order_group_id` string, required

## Query parameters

- `subaccount` integer
- `exchange_index` integer: Identifier for an exchange shard.

## Response `200`

Order group deleted successfully

- EmptyResponse: An empty response body

## Other responses

- `401`: Unauthorized - authentication required
- `404`: Resource not found
- `500`: Internal server error

## Changes

- **2026-10-16** `bd0c218a65b7`: 1 warning
  - for the `query` request parameter `subaccount`, the min was set to `0.00`
- **2026-07-31** `a07481be8bf9`: 3 warning
  - removed the optional property `service` from the response with the `401` status
  - removed the optional property `service` from the response with the `404` status
  - removed the optional property `service` from the response with the `500` status
- **2026-05-18** `7e31fc4590e0`: 1 info
  - added the new optional `query` request parameter `exchange_index`
- **2026-02-14** `d4973326079e`: 1 breaking
  - for the `query` request parameter `subaccount`, default value `0` was removed
- **2026-01-30** `c2d717743574`: 1 info
  - added the new optional `query` request parameter `subaccount`

[Operation history](https://skmtc.dev/kalshi/apis/kalshi-trade-api-manual-endpoints/changes/portfolio/order_groups/:order_group_id/delete.md)

---

[API](https://skmtc.dev/kalshi/apis/kalshi-trade-api-manual-endpoints.md) - [All operations](https://skmtc.dev/kalshi/apis/kalshi-trade-api-manual-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/kalshi/apis/kalshi-trade-api-manual-endpoints/revisions/e6691cdd1915?raw)
