Set margin configuration
Set margin configuration for an account and market
Path parameters
market
Market Name - example: BTC-USD-PERP
Headers
Authorization
Request
This endpoint expects an object.
leverage
Leverage value (1 up to market’s maximum leverage)
margin_type
Margin type (CROSS or ISOLATED)
on_behalf_of_account
Specify sub-account ID to set margin for, if not provided, it will be the main account itself
Response
OK
account
Account ID
leverage
Leverage value
margin_type
Margin type (CROSS/ISOLATED)
market
Market symbol