Orders
Cancel Order
Cancel an existing order
Query Parameters
orderId?string
Identifies the order to be cancelled.
clientId?string
Identifies the order to be cancelled, required if orderId is not provided.
account?string
Identifies the account which owns the order to be cancelled, required with clientId.
Response Body
application/json
text/plain
text/plain
text/plain
text/plain
curl -X DELETE "https://matcher.cascade.xyz/account/order?orderId=b5cb9b814027f12334d1e02dec61a73f6ca1eab01049060c366f2d3ced11e0dd&clientId=omnibus-387&account=0xe1c03ec3bcf509b3e8e63abcd03edc661ffe6a78"{
"account": "string",
"clientId": "string",
"createdAt": 0,
"expiresAt": 0,
"flags": {
"ioc": true,
"postOnly": true,
"reduceOnly": true,
"selfTradeExpire": 0
},
"groupId": "string",
"lastUpdateSequenceNumber": 0,
"nonce": 0,
"orderId": "string",
"orderType": "unsupported",
"originator": "string",
"originatorFee": 0,
"parentOrderId": "string",
"period": 0,
"price": "string",
"quantity": "string",
"reason": "string",
"remaining": "string",
"settled": "string",
"status": "new",
"subaccountIndex": 0,
"symbol": "string",
"trailingPercent": "string",
"triggerPrice": "string",
"updatedAt": 0
}"string""string""Not delegated for account and subaccount""string"