@diwakar Get all pending orders, https://smartapi.angelbroking.com/docs/Orders#orderbook, filter by "variety": "STOPLOSS" and symboltoken, and cancel all SL orders not matching your sl_order_id.