Cancel all orders via api for margin account

Hi, Spot and futures have a cancel all open orders endpoint. Is there an equivalent in margin? Thanks!

Hi there,

The margin “cancel all open orders” endpoint doesn’t seem to be available to the public. As an alternative, please:
1 - Obtain all open orders - https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-open-order-user_data
2 - Know the order ids from #1 and cancel orders individually - https://binance-docs.github.io/apidocs/spot/en/#margin-account-cancel-order-trade

Best.

Its available now: Binance API Documentation