Multiple endpoints to cancel a single order, multiple orders, all orders or all orders from a single market.
DELETE /<clob-endpoint>/order
Name | Required | Type | Description |
---|---|---|---|
orderID | yes | string | ID of order to cancel |
Name | Type | Description |
---|---|---|
canceled | string[] | list of canceled orders |
not_canceled | a order id -> reason map that explains why that order couldn’t be canceled |
DELETE /<clob-endpoint>/orders
Name | Required | Type | Description |
---|---|---|---|
null | yes | string[] | IDs of the orders to cancel |
Name | Type | Description |
---|---|---|
canceled | string[] | list of canceled orders |
not_canceled | a order id -> reason map that explains why that order couldn’t be canceled |
DELETE /<clob-endpoint>/cancel-all
Name | Type | Description |
---|---|---|
canceled | string[] | list of canceled orders |
not_canceled | a order id -> reason map that explains why that order couldn’t be canceled |
DELETE /<clob-endpoint>/cancel-market-orders
Name | Required | Type | Description |
---|---|---|---|
market | no | string | condition id of the market |
asset_id | no | string | id of the asset/token |
Name | Type | Description |
---|---|---|
canceled | string[] | list of canceled orders |
not_canceled | a order id -> reason map that explains why that order couldn’t be canceled |