Skip to main content

Cancel Multi Order

Cancel all the open orders

curl --location --request DELETE 'https://api.upstox.com/v2/order/multi/cancel' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'

Cancel all the open orders for a given segment

curl --location --request DELETE 'https://api.upstox.com/v2/order/multi/cancel?segment=NSE_FO' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'

Cancel all the open orders for a given tag

curl --location --request DELETE 'https://api.upstox.com/v2/order/multi/cancel?tag=xyz' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'