API Reference

Change Margin Type

Change the user's margin mode on the specified symbol contract: isolated margin or cross margin.

Weight: 1

Request Parameters


PARAMETERTYPEReq'dExample valuesDESCRIPTION
symbolSTRINGYETHUSDT-PERPETUALName of the contract. Return results for all symbols if not specified
marginTypeSTRINGYLONGMargin type. Possible values include CROSS, ISOLATED
recvWindowLONG5000recv window
timestampLONGY1714311403031Timestamp

Response Content


PARAMETERTYPEExample valuesDESCRIPTION
codeSTRING0000Return code of request
symbolSTRINGBTCUSDT-PERPETUALName of the contract. Return results for all symbols if not specified
marginTypeSTRINGCROSSMargin type. Possible values include CROSS, ISOLATED.
Language
Credentials
Header
Click Try It! to start a request and see the response here!