---
title: "private/cancel_batch_quotes"
method: POST
path: "/private/cancel_batch_quotes"
tags: ["RFQ"]
---

# private/cancel_batch_quotes

`POST /private/cancel_batch_quotes`

## Request

- Base URL: `https://api.derive.xyz/v3`
- URL: `https://api.derive.xyz/v3/private/cancel_batch_quotes`
- Auth: API key in header `X-DeriveWallet` and API key in header `X-DeriveTimestamp` and API key in header `X-DeriveSignature`

Cancels all open quotes on a subaccount that match the supplied filters (any combination of quote_id, rfq_id, label, and nonce, applied together) in a single atomic operation. Omitting the optional filters targets all of the subaccount's open quotes. Returns the list of cancelled quote ids. Requires an RFQ trade scope.

## Request body

- CancelBatchQuotesRequest
  - `label` string, nullable
  - `nonce` string, nullable
  - `quote_id` string, uuid, nullable: Optional UUID v4 string
  - `rfq_id` string, uuid, nullable: Optional UUID v4 string
  - `subaccount_id` integer, required

## Response `200`

Success

- CancelBatchResult
  - `cancelled_ids` string[], required

## Other responses

- `default`: JSON-RPC error (see Error Codes)

## Changes

- **2026-10-20** `0c500202be49`: 2 info
  - the endpoint scheme security `DeriveWallet AND DeriveTimestamp AND DeriveSignature` was added to the API
  - added the media type `application/json` for the response with the status `default`

[Operation history](https://skmtc.dev/lyra/apis/derive-v3-api/changes/private/cancel_batch_quotes/post.md)

---

[API](https://skmtc.dev/lyra/apis/derive-v3-api.md) - [All operations](https://skmtc.dev/lyra/apis/derive-v3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lyra/apis/derive-v3-api/revisions/415f8a73b10c?raw)
