Order

Cancel multi order

API to cancel all the open or pending orders which can be applied to both AMO and regular orders.

delete/v2/order/multi/cancel

Request

  • Base URL: https://api-v2.upstox.com
  • URL: https://api-v2.upstox.com/v2/order/multi/cancel
  • Auth: OAuth 2 (authorization code, authorization URL https://api-v2.upstox.com/v2/login/authorization/dialog, token URL https://api-v2.upstox.com/v2/login/authorization/token)

Query parameters

tagstring

The tag associated with the orders for which the orders must be cancelled

segmentstring

The segment for which the orders must be cancelled

Response

Successful

status'success' | 'error' | 'partial_success'

Example response

{
  "errors": [
    {
      "instrument_key": "NSE_EQ|INE002A01018"
    }
  ],
  "summary": {
    "total": 3,
    "success": 2,
    "error": 1
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.