Skip to main content

Modify Virtual Subaccount

Frequency limit: 5 times/1s (User ID)

Description

Modify the virtual sub-account

HTTP Request

  • POST /api/v2/user/modify-virtual-subaccount
Request Example
curl -X POST "https://api.bitget.com/api/v2/user/modify-virtual-subaccount" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" \
-d '{"subAccountUid": "1","permList":["spot_trade,contract_trade"], "status":"normal"}'

Request Parameters

ParameterTypeRequiredDescription
subAccountUidStringYesSub-account Uid
permListList<String>YesPermissions
spot_trade Spot trade
contract_trade Futures trade read-write
read Read permissions
statusStringYesSub-account status
normal Normal
freeze Freeze
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1682660666458,
"data": {
"result": "success"
}
}

Response Parameters

ParameterTypeDescription
resultStringEdit result
success Success
failure Failure