---
title: "POST /cancel-all-orders"
method: POST
path: "/cancel-all-orders"
tags: ["order-gateway"]
---

# POST /cancel-all-orders

`POST /cancel-all-orders`

## Request body

- CancelAllOrdersRequest — Request to cancel all orders for the authenticated user.
  - `account_id` string, nullable — Optional account ID. If omitted, the account is inferred from the connection: the user's default account, or the session account for an account-scoped session.
  - `symbol` string, nullable — Optional symbol filter. If provided, only orders for this symbol will be canceled.

## Response `200`

All orders canceled

- CancelAllOrdersResponse — Response for canceling all orders.

## Other responses

- `400` — Unknown instrument symbol

---

[API](https://skmtc.net/architect/apis/ax-api-gateway.md) · [All operations](https://skmtc.net/architect/apis/ax-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/architect/ax-api-gateway/revisions/2955c31c524d/schema)
