How to set margin mode in Futures USD-M Account?

Can anyone show how to set margin mode (cross or isolated) in futures usd margined account? I could not see it in the api.

https://binance-docs.github.io/apidocs/futures/en/#change-multi-assets-mode-trade

You can use this endpoint to toggle between margin modes.

@Chai Thanks for your so quick rensponce:)
The link you shared show toggling between single asset-multi asset mode. i want to toggle between cross - islolated margin modes.
Do they refer same thing?

https://binance-docs.github.io/apidocs/futures/en/#change-multi-assets-mode-trade You can use this endpoint to toggle between margin modes.

Thank you for the helpful link.

Hello,
The link you shared does NOT set what i want. You can toggle between single asset-multi asset with the shared link, you change the setting seen below picture in binance windows app, This setting is out of my interest.

All i want is togggling between cross and isolated margin modes. See above picture for settings in binance windows app.
Realize the diffrence?

Finally i find it…

https://binance-docs.github.io/apidocs/futures/en/#change-margin-type-trade