> For the complete documentation index, see [llms.txt](https://rwaperp-1.gitbook.io/rwaperp-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rwaperp-1.gitbook.io/rwaperp-docs/rwa-perp-b2b-api/rest-api-reference/trading-and-orders/delete-v1-client-batch-order.md).

# delete v1 client batch order

`DELETE /v1/client/batch-order`

**Authentication:** RWA

**Rate limit:** 10 requests per second

## Description

Cancel a list of orders by `client_order_ids`. The maximum number of orders that can be cancelled within one batch cancel request is 10.

This endpoint returns an invalid `client_order_id` error if 0 `client_order_ids` are given or all given `client_order_ids` are invalid.

{% hint style="info" %}
This endpoint requires the `trading` scope in the API key.
{% endhint %}

## Parameters

| Name               | Location | Type   | Required | Description                                                                              | Example |
| ------------------ | -------- | ------ | -------- | ---------------------------------------------------------------------------------------- | ------- |
| `client_order_ids` | query    | string | Yes      | List of `client_order_ids`, comma-separated, with a maximum of 10 order IDs per request. | —       |

## Responses

### HTTP 200

OK

| Field         | Type    | Required | Description                                                   |
| ------------- | ------- | -------- | ------------------------------------------------------------- |
| `success`     | boolean | Yes      | Indicates whether the request was successful. Example: `True` |
| `timestamp`   | integer | No       | Server timestamp in milliseconds. Example: `1702989203989`    |
| `data`        | object  | Yes      | —                                                             |
| `data.status` | string  | Yes      | Example: `CANCEL_ALL_SENT`                                    |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://rwaperp-1.gitbook.io/rwaperp-docs/rwa-perp-b2b-api/rest-api-reference/trading-and-orders/delete-v1-client-batch-order.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
