> ## Documentation Index
> Fetch the complete documentation index at: https://enterprise.predexon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel All Orders

> Cancel every open order on this account

```http theme={null}
DELETE /v1/accounts/{accountId}/orders
```

Cancels every open order on the account. Filled, cancelled, and expired orders are not affected. USDC reserved against cancelled limit-BUY orders is released back to `balance.available`; shares reserved against cancelled limit-SELL orders are released back to position `lockedSize`.

**Response**

```json theme={null}
{
  "cancelled": 3
}
```

Returns the count of orders cancelled. Idempotent — calling against an account with no open orders returns `{"cancelled": 0}`.
