> 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-del.md).

# \[DEPRECATED] del

Cancels a specific pending order

**POST pending/del**

{% hint style="warning" %}
This is a deprecated API. Please migrate to using [/algo/order/del](/api-reference/rest-api/trading/orders-and-order-book/algo-orders/del.md)
{% endhint %}

{% hint style="info" %}
The method is similar to `api/del`
{% endhint %}

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

```json
{
    "orderId": "int",
    "clientOrderId": "int"
}
```

{% endtab %}

{% tab title="200 OK" %}

```json
{
    "id": int,
    "remainingSize": int
}
```

{% endtab %}

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

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

{% endtab %}
{% endtabs %}
