> 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/deprecated-pending-limit-orders/deprecated-delall-authorized.md).

# \[DEPRECATED] delAll (authorized)

Cancels all pending orders for a specified instrument.

**POST pending/delAll**

{% hint style="warning" %}
This is a deprecated API. Please migrate to using /algo/authorized/order/delAll
{% endhint %}

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

```json
{
    "clientId": int,
    "instrument": "string" (optional, if not specified, then it cancels all of the client's pending orders)
}
```

{% endtab %}

{% tab title="200 OK" %}

```json
{
    "removed": "int"
}
```

{% endtab %}

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

```json
{
    "error": "int"
}
```

{% endtab %}
{% endtabs %}
