DELETE /orders
Request
DELETE /api/v1/orders?exchange={exchange}&symbol={symbol}Parameters
Parameter
Type
Required
Description
Response
{
"success": true,
"exchange": "mexc",
"cancelled": 5,
"message": "Cancelled 5 orders"
}Examples
# Cancel all orders
curl -X DELETE "http://localhost:3000/api/v1/orders?exchange=mexc"
# Cancel orders for specific pair
curl -X DELETE "http://localhost:3000/api/v1/orders?exchange=mexc&symbol=BTC/USDT"⚠️ Warning
Last updated