---
title: "Changes to Margin Account Cancel all Open Orders on a Symbol (TRADE)"
method: DELETE
path: "/sapi/v1/margin/openOrders"
---

# Changes to Margin Account Cancel all Open Orders on a Symbol (TRADE)

`DELETE /sapi/v1/margin/openOrders`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 26 revisions.

- **2021-10-25** `a484ce871a72` — 3 breaking, 14 warning, 5 info

## Changes

- **2021-10-25** `a484ce871a72` — 3 breaking, 14 warning, 5 info
  - for the `query` request parameter `recvWindow`, the type/format was changed from `integer`/`` to `integer`/`int64`
  - for the `query` request parameter `timestamp`, the type/format was changed from `integer`/`` to `integer`/`int64`
  - the `items/` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the optional property `items/clientOrderId` from the response with the `200` status
  - removed the optional property `items/cummulativeQuoteQty` from the response with the `200` status
  - removed the optional property `items/executedQty` from the response with the `200` status
  - removed the optional property `items/isIsolated` from the response with the `200` status
  - removed the optional property `items/orderId` from the response with the `200` status
  - removed the optional property `items/orderListId` from the response with the `200` status
  - removed the optional property `items/origClientOrderId` from the response with the `200` status
  - removed the optional property `items/origQty` from the response with the `200` status
  - removed the optional property `items/price` from the response with the `200` status
  - removed the optional property `items/side` from the response with the `200` status
  - removed the optional property `items/status` from the response with the `200` status
  - removed the optional property `items/symbol` from the response with the `200` status
  - removed the optional property `items/timeInForce` from the response with the `200` status
  - removed the optional property `items/type` from the response with the `200` status
  - added `#/components/schemas/canceledMarginOrderDetail, #/components/schemas/marginOcoOrder` to the `items/` response property `anyOf` list for the response status `200`
  - the response property `code` became required for the status `400`
  - the response property `code` became required for the status `401`
  - the response property `msg` became required for the status `400`
  - the response property `msg` became required for the status `401`

---

[Operation](https://skmtc.dev/binance/apis/binance-public-spot-api/docs/sapi/v1/margin/openOrders/delete.md) · [API](https://skmtc.dev/binance/apis/binance-public-spot-api.md) · [Page](https://skmtc.dev/binance/apis/binance-public-spot-api/changes/sapi/v1/margin/openOrders/delete)
