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_id integer required
Subaccount ID
label string
Cancel quotes with this label
nonce integer
Cancel quote with this nonce
quote_id string
Quote ID to cancel
rfq_id string
Cancel quotes for this RFQ ID

Response

id string or integer required
result object required
result.cancelled_ids array of strings required
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}