Cancel Batch Rfqs

Method Name

private/cancel_batch_rfqs

Cancels RFQs given optional filters.
If no filters are provided, all RFQs for the subaccount are cancelled.
All filters are combined using AND logic, so mutually exclusive filters will result in no RFQs being cancelled.

Parameters

subaccount_id integer required
Subaccount ID
label string
Cancel RFQs with this label
nonce integer
Cancel RFQ with this nonce
rfq_id string
RFQ ID to cancel

Response

id string or integer required
result object required
result.cancelled_ids array of strings required
RFQ IDs of the cancelled RFQs

Example

{request_example_shell}
{request_example_javascript}
{request_example_python}

The above command returns JSON structured like this:

{response_example_json}