HomeDocumentationAPI Reference
Log In
API Reference

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.
Required minimum session key permission level is account

Parameters

subaccount_idintegerrequired
Subaccount ID
labelstring
Cancel RFQs with this label
nonceinteger
Cancel RFQ with this nonce
rfq_idstring
RFQ ID to cancel

Response

idstring or integerrequired
resultobjectrequired
result.cancelled_idsarray of stringsrequired
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}