Set margin configuration

Set margin configuration for an account and market

Path parameters

marketstringRequired

Market Name - example: BTC-USD-PERP

Headers

AuthorizationstringRequired

Request

This endpoint expects an object.
leverageintegerRequired

Leverage value (1 up to market’s maximum leverage)

margin_typestringRequired

Margin type (CROSS or ISOLATED)

Response

OK

accountstringOptional
leverageintegerOptional
margin_typeintegerOptional
marketstringOptional

Errors