---
title: "cancel super order"
method: DELETE
path: "/super/orders/{order-id}/{order-leg}"
tags: ["Super Order"]
---

# cancel super order

`DELETE /super/orders/{order-id}/{order-leg}`

User can cancel any leg of a super order which is PENDING using this API.

## Path parameters

- `order-id` string, required — Order ID of the Order being cancelled
- `order-leg` 'ENTRY_LEG' | 'STOP_LOSS_LEG' | 'TARGET_LEG', required — Order Leg to be cancelled

## Headers

- `access-token` string, required

## Response `200`

Successful operation

- OrderStatusResponse
  - `orderId` string — Order specific identification generated by Dhan
  - `orderStatus` 'TRANSIT' | 'PENDING' | 'REJECTED' | 'CANCELLED' | 'PART_TRADED' | 'TRADED' | 'EXPIRED' | 'MODIFIED' | 'TRIGGERED' | 'INACTIVE' — | **Enum Values** | **Description** | |-----------------|---------------------------------------------| | TRANSIT | Did not reach the exchange server | | PENDING | Reached at exchange end, awaiting execution | | REJECTED | Rejected at exchange/broker’s end | | CANCELLED | Cancelled by user | | PART_TRADED | Partially Executed | | TRADED | Executed | | EXPIRED | Validity of order is expired |

---

[API](https://skmtc.dev/dhan/apis/dhanhq-api.md) · [All operations](https://skmtc.dev/dhan/apis/dhanhq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dhan/dhanhq-api/revisions/2d368b9ed32d/schema)
