Cancel Order
Type: TRADE
External endpoint:
DELETE /fapi/v1/order
Rocky impl:DELETE /fapi/v1/order✓
Cancel an open order by orderId.
Request
DELETE /fapi/v1/order?symbol=BTCUSDT&orderId=<uuid>
Query params
| Name | Type | Required | Notes |
|---|---|---|---|
symbol | string | yes | standard pair (validated as known). |
orderId | UUID string | yes | Order id from the placement response. |
Response — 200
{
"symbol": "BTCUSDT",
"orderId": "8a3f5b2c-4d1e-6f7a-8b9c-0d1e2f3a4b5c",
"status": "CANCELED"
}
Errors
| HTTP | code | msg |
|---|---|---|
400 | -1100 | orderId not a valid UUID, or unknown symbol. |
422 | -2011 | Order does not exist. |
Cancelling by
origClientOrderId(instead oforderId) is not yet supported.