HomeDocumentationAPI Reference
Log In
API Reference

Cancel Batch Quotes

Method Name

private/cancel_batch_quotes

Cancels quotes given optional filters. If no filters are provided, all quotes by the subaccount are cancelled.
All filters are combined using AND logic, so mutually exclusive filters will result in no quotes being cancelled.
Required minimum session key permission level is admin

Parameters

subaccount_idintegerrequired
Subaccount ID
labelstring
Cancel quotes with this label
nonceinteger
Cancel quote with this nonce
quote_idstring
Quote ID to cancel
rfq_idstring
Cancel quotes for this RFQ ID

Response

idstring or integerrequired
resultobjectrequired
result.cancelled_idsarray of stringsrequired
Quote IDs of the cancelled quotes

Example

{request_example_shell}
{request_example_javascript}
{request_example_python}

The above command returns JSON structured like this:

{response_example_json}