Cancel All Orders
- POST
/capi/v2/order/cancelAllOrders
Weight(IP): 40, Weight(UID): 50
Request parameters
| Parameter | Type | Required? | Description |
|---|---|---|---|
| symbol | String | No | Trading pair. If not provided, orders for all trading pairs will be cancelled |
| cancelOrderType | String | Yes | Order type to cancel:normal: Cancel normal orders plan: Cancel trigger/plan orders |
Request example
Response parameters
| Parameter | Type | Description |
|---|---|---|
| orderId | Long | Order ID |
| success | Boolean | Whether the order was cancelled successfully |
Response example
[
{
"orderId": 696026685023191898,
"success": true
}
]