v1

latestOpenAPI 3.0.32026-07-14101828.2 KB
Trade

/trade/orders/cancel

Cancel orders for a market using order hashes.

  • May be a single order hash or a list of order hashes.

  • All orders must belong to the same account.

  • If no order hashes are specified, then will cancel all orders for the given market

  • All orders being cancelled by request will receive the same time priority.

put/api/v1/trade/orders/cancel

Request body

symbolstring required

The symbol of the perpetual for which to cancel orders.

orderHashesstring[]

List of order hashes of the orders to be cancelled. All orders must belong to accountAddress. Max 10 order hashes

Example request

{
  "orderHashes": [
    "order_hash1",
    "order_hash2"
  ]
}

Response

Order cancellation submitted successfully.