---
title: "Delete all orders"
method: DELETE
path: "/accounts/{account_id}/orders"
tags: ["Orders"]
---

# Delete all orders

`DELETE /accounts/{account_id}/orders`

Attempts to cancel all open orders for a given account. Cancelling an order cannot be guaranteed as there might be in-flight executions.

## Path parameters

- `account_id` string, required — Account ID for the account.

## Query parameters

- `symbol` string
- `symbol_format` 'cms' | 'osi' — Denotes the format of the provided `symbol` field.

## Response `201`

Successfully attempted to cancel all open orders.

- object
  - `data` OrderId[], required — Array of order IDs that were attempted to be cancelled.

## Other responses

- `default` — Error response

---

[API](https://skmtc.net/clear-street/apis/common-api-models.md) · [All operations](https://skmtc.net/clear-street/apis/common-api-models/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clear-street/common-api-models/revisions/05b4df42c056/schema)
