# How to cancel the pending Stop loss order through API

**URL:** <https://community.delta.exchange/t/how-to-cancel-the-pending-stop-loss-order-through-api/2178>\
**Category:** Crypto Markets Discussion\
**Created:** [October 24, 2025, 11:38am UTC](https://community.delta.exchange/t/how-to-cancel-the-pending-stop-loss-order-through-api/2178 "2025-10-24T11:38:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![viraj](https://avatars.discourse-cdn.com/v4/letter/v/76d3ee/32.png) [@viraj](https://community.delta.exchange/u/viraj)\
**Post date:** [October 24, 2025, 11:38am UTC](https://community.delta.exchange/t/how-to-cancel-the-pending-stop-loss-order-through-api/2178/1 "2025-10-24T11:38:13Z")

</div>

Hi

Please let me know how to cancel pending stop loss order through API

Thanks in advance

---

<div class="post-metadata">

**Author:** ![manku.pathak](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@manku.pathak](https://community.delta.exchange/u/manku.pathak)\
**Post date:** [October 24, 2025, 12:09pm UTC](https://community.delta.exchange/t/how-to-cancel-the-pending-stop-loss-order-through-api/2178/2 "2025-10-24T12:09:18Z")

</div>

You can delete them using the cancel order api: [Delta Exchange Api](https://docs.delta.exchange/#cancel-order)  
If you call the get orders api, you’ll get the ids of these pending orders too which can be used to delete them.
