---
title: "Cancel an existing order"
method: DELETE
path: "/trade/orders/{orderId}"
tags: ["Trading"]
---

# Cancel an existing order

`DELETE /trade/orders/{orderId}`

Cancel an existing order. Only available before an order is executed.

## Path parameters

- `orderId` integer, required

## 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)
