Batch Cancel Orders (Combined)
Trading
Batch Cancel Orders (Combined)
Cancel open orders by either internal orderIds or client-provided clientOrderIds.
POST
Batch Cancel Orders (Combined)
Cancel multiple orders by either internal
orderIds or clientOrderIds supplied when creating the orders.
Provide exactly one identifier array. Requests with both orderIds and clientOrderIds, or with neither, return 400 Bad Request.
POST /orders/cancel-batch remains supported for existing integrations and accepts orderIds only.Authorizations
Scoped API token with HMAC-SHA256 signing. Requires three headers: lmts-api-key (token ID), lmts-timestamp (ISO-8601), lmts-signature (Base64-encoded HMAC). See Authentication docs for details.
Body
application/json
- Option 1
- Option 2
Internal order IDs. Provide exactly one of orderIds or clientOrderIds.
Maximum array length:
50Example:
["6f52b6d2-6c9e-4a5c-8a4f-28ab4b7ff203"]Client-provided order IDs from order creation. Provide exactly one of orderIds or clientOrderIds.
Maximum array length:
50Maximum string length:
128Example:
["partner-order-001", "partner-order-002"]Response
All orders successfully cancelled