---
title: "Cancel Order"
method: DELETE
path: "/orders/{orderId}"
tags: ["Trading"]
---

# Cancel Order

`DELETE /orders/{orderId}`

Cancel an open order and return locked funds

## Path parameters

- `orderId` string, required

## Response `200`

Order successfully cancelled

- CancelOrderResponseDto
  - `message` string, required — Confirmation message for the cancelled order

## Other responses

- `400` — Order cannot be cancelled
- `401` — User not authenticated or not the order owner
- `425` — Cancellation is temporarily blocked because trading is disabled by maintenance mode
- `500` — Server error during cancellation

## Changes

- **2026-07-07** `8af094995f39` — 2 info
  - added the non-success response with the status `425`
  - removed the non-success response with the status `503`
- **2026-06-23** `2dbb5d224148` — 1 info
  - added the non-success response with the status `503`
- **2026-06-12** `da9b369e16fd` — 2 info
  - the endpoint scheme security `HmacAuth` was added to the API
  - the endpoint scheme security `ApiKeyAuth` was removed from the API
- **2026-03-26** `7583da44d16b` — 2 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
  - the endpoint scheme security `bearer` was removed from the API

[Change history](https://skmtc.dev/limitless-labs-group/apis/limitless-exchange-api/changes/orders/:orderId/delete.md)

---

[API](https://skmtc.dev/limitless-labs-group/apis/limitless-exchange-api.md) · [All operations](https://skmtc.dev/limitless-labs-group/apis/limitless-exchange-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/limitless-labs-group/limitless-exchange-api/revisions/f60847044e0d/schema)
