Cancel all active orders
Cancels all active orders with best-effort delivery. Optionally specify a product_id to cancel only orders for a specific trading pair. Returns a list of orders that were successfully requested for cancellation. Note that cancellation is asynchronous and not guaranteed for all orders.
Requires authentication.
OBSIDIAN-KEY<token>
In: header
OBSIDIAN-SECRET<token>
In: header
Query Parameters
product_id?string
Product ID to be canceled.
Response Body
application/json
application/json
curl -X DELETE "https://api.dev.obsidian.exchange/orders/all"{
"cancel_requested_orders": [
{
"order_id": "string",
"nonce": "string",
"client_order_id": "string"
}
]
}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string",
"property1": null,
"property2": null
}
]
}