EXIT BRACKET ORDER API
This API allows you to cancel an existing bracket order that is currently pending in the order book.
All associated legs (main, stop-loss, and profit) will be cancelled upon successful exit.
🔗 Path Parameters
| Parameter | Type | Required | Description | Example |
|---|
| exchange | string | Yes | Exchange segment | "NSE_EQ" |
| order_id | string | Yes | Unique bracket order ID | "NXVZO00098K1" |
| Header | Type | Description | Example |
|---|
| Content-Type | string | Specifies the media type of the request | application/json |
| Authorization | string | Access token for authenticated requests | {{access_token}} |
| x-api-key | string | API key used to authorize the request | {{x-api-key}} |
🟢 Success Response - 200 OK
Content-Type: application/json
| Field | Type | Description | Example |
|---|
| status | string | Status of API call | "success" |
| code | string | Response code to user request | "s-101" |
| message | string | Success message | "Bracket order exited successfully" |
| data | object | Order response payload | Refer to Data Object Fields |
📦 Data Object Fields
| Field | Type | Description | Example |
|---|
| orderId | string | System-generated order identifier | "NXVZO00098K1" |