cURL
curl --request POST \ --url https://api.hypereth.io/v1/aster/fapi/v1/marginType \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data 'symbol=<string>' \ --data marginType=ISOLATED \ --data recvWindow=123 \ --data timestamp=123
{ "code": 123, "msg": "<string>" }
Change user’s margin type of specific symbol market.
HMAC SHA256 signature authentication for v1 endpoints
ISOLATED
CROSSED
Margin type changed successfully