---
title: "Changes to Margin Account Cancel Order (TRADE)"
method: DELETE
path: "/sapi/v1/margin/order"
---

# Changes to Margin Account Cancel Order (TRADE)

`DELETE /sapi/v1/margin/order`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 26 revisions.

- **2021-10-25** `a484ce871a72` — 3 breaking, 16 info

## Changes

- **2021-10-25** `a484ce871a72` — 3 breaking, 16 info
  - for the `query` request parameter `orderId`, the type/format was changed from `integer`/`` to `integer`/`int64`
  - 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 response property `clientOrderId` became required for the 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 `cummulativeQuoteQty` became required for the status `200`
  - the response property `executedQty` became required for the status `200`
  - the response property `msg` became required for the status `400`
  - the response property `msg` became required for the status `401`
  - the response property `orderId` became required for the status `200`
  - the response property `origClientOrderId` became required for the status `200`
  - the response property `origQty` became required for the status `200`
  - the response property `price` became required for the status `200`
  - the response property `side` became required for the status `200`
  - the response property `status` became required for the status `200`
  - the response property `symbol` became required for the status `200`
  - the response property `timeInForce` became required for the status `200`
  - the response property `type` became required for the status `200`

---

[Operation](https://skmtc.dev/binance/apis/binance-public-spot-api/docs/sapi/v1/margin/order/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/order/delete)
