# Delete backlog positions

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

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

Deletes the backlog positions listed in backlog_ids from a market maker bot.

OAuth scope: `read`, `manage`

backlog_ids is required; this endpoint does not delete the whole backlog. Returns an error when only some or none of the positions could be deleted.

## 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 of a market maker bot. |

## Example request

```bash
curl -X DELETE "https://api.cryptohopper.com/v1/hopper/HOPPER_ID/marketmaker/backlog" \
  -H "access-token: YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"backlog_ids":[1370101,1370102]}'
```

## Response

Example response (illustrative values):

```json
{
    "data": "Backlog(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.
