AsterAster REST API
Modify Isolated Position Margin
Modify isolated position margin.
Authorization
HmacSha256 AuthorizationBearer <token>
HMAC SHA256 signature authentication for v1 endpoints
In: header
Request Body
application/x-www-form-urlencoded
symbol*stringrequired
positionSide?enum<string>default: "BOTH"
Available options:
BOTHLONGSHORTamount*stringrequired
type*enum<integer>required
Available options:
12recvWindow?integer
timestamp*integerrequired
Response Body
application/json
curl -X POST "https://api.hypereth.io/v1/aster/fapi/v1/positionMargin" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'symbol=string&amount=string&type=1'{
"amount": "string",
"code": 0,
"msg": "string",
"type": 0
}