Skip to main content
DELETE
xo-orderbook-client-rs

Body

application/json
marketId
string
required
signature
string
required
signatureType
enum<integer>
required
Available options:
0,
3
signer
string

Response

OK

Wire shape uses camelCase (canceled / notCanceled) per the CLOB SDK contract. American spelling — one l (NOT cancelled). Shared by DELETE /order, DELETE /orders, DELETE /cancel-all, DELETE /cancel-market-orders.

canceled
string[]
required

Order ids that were successfully cancelled, decimal strings.

notCanceled
object
required

Map of <order_id> → <reason> for orders that could not be cancelled. Common reasons: "already filled", "not found", "not owner".