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

# del

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

Please note that it is not possible to specify `orderId` *and* `clientOrderId` simultaneously.

**POST api/del**

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

```json
{
    "orderId": 1235
}
```

{% endtab %}

{% tab title="200 OK" %}

```json
{
    "id": 1235,
    "remainingSize": 8000000
}
```

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

**Request parameters**

| Filed name    | Type               | Description                                                                 |
| ------------- | ------------------ | --------------------------------------------------------------------------- |
| orderId       | Efx::OrderId       | Id of order to delete (either this or `clientOrderId` should be specified)  |
| clientOrderId | Efx::ClientOrderId | Client Id of order to delete (either this or `orderId` should be specified) |

**Response description**

| Field name    | Type         | Description                     |
| ------------- | ------------ | ------------------------------- |
| id            | Efx::OrderId | Order Id                        |
| remainingSize | Efx::Size    | Remaining Order size on removal |
