> For the complete documentation index, see [llms.txt](https://faq.finerymarkets.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://faq.finerymarkets.com/api-reference/rest-api/trading/orders-and-order-book/delall.md).

# delAll

{% hint style="info" %}
/delAll method makes sense only for makers, since taker's orders are processed immediately and a server does not store them.
{% endhint %}

**POST api/delAll**

{% tabs %}
{% tab title="Payload" %}

```json
{
    "instrument": "BTC-USD"
}
```

{% endtab %}

{% tab title="200 OK" %}

```json
{
    "removed": 15
}
```

{% endtab %}

{% tab title="400 Bad request" %}

```json
{
    "error": 2
}
```

{% endtab %}
{% endtabs %}

**Request parameters**

| Field name | Type   | Description                   |
| ---------- | ------ | ----------------------------- |
| instrument | string | *Optional*. Instrument filter |

**Response description**

| Filed name | Type           | Description                |
| ---------- | -------------- | -------------------------- |
| removed    | unsigned int32 | Number of cancelled orders |
