---
title: "Cancel all orders"
method: DELETE
path: "/trade/accounts/{accountId}/orders"
tags: ["Trading"]
---

# Cancel all orders

`DELETE /trade/accounts/{accountId}/orders`

Cancel all existing orders.

## Path parameters

- `accountId` integer, required

## Query parameters

- `tradableInstrumentId` integer

## Headers

- `accNum` integer, required
- `developer-api-key` string

## Response `200`

- SuccessResponse
  - `s` string, required — Status will always be `ok`.

## Other responses

- `204` — No Content
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/tradelocker/apis/trading-api.md) · [All operations](https://skmtc.net/tradelocker/apis/trading-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tradelocker/trading-api/revisions/5b184d9b617c/schema)
