# Remove open orders

`DELETE https://api.cryptohopper.com/v1/hopper/{id}/order`

Part of [Orders](https://www.cryptohopper.com/api-documentation/api-reference/orders.md) in the Cryptohopper API reference.

Removes the given open orders from the hopper's order list. The orders are not cancelled on the exchange.

OAuth scope: `read`, `manage`

Send order_ids as an array of Cryptohopper order IDs (the id field of Get open orders), or a single order_id. Returns an error when only some or none of the orders could be removed.

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | The OAuth access token of the user. |

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Hopper ID. |

## Example request

```bash
curl -X DELETE "https://api.cryptohopper.com/v1/hopper/HOPPER_ID/order" \
  -H "access-token: YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"order_ids":[342000001,342000002]}'
```

## Response

Example response (illustrative values):

```json
{
    "data": "Order(s) removed."
}
```

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
