---
title: "Cancel order"
method: DELETE
path: "/orders/{order_id}"
tags: ["Orders"]
---

# Cancel order

`DELETE /orders/{order_id}`

Queues a cancellation for a specific order identified by its order ID (assigned by
Paradex).

Returns a 204 No Content status code with no response body which means the order
has been queued for cancellation.

Confirmation of cancellation will be sent via websocket or can be retried from
GET /orders/:id endpoint.

Orders that are already in a CLOSED state cannot be canceled.

## Path parameters

- `order_id` string, required

## Response `204`

No Content

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/tradeparadex/apis/paradex-rest-api-2.md) · [All operations](https://skmtc.net/tradeparadex/apis/paradex-rest-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tradeparadex/paradex-rest-api-2/versions/6a76453d754c/schema)
