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": "","permList":"spot_trade,contract_trade", "status":"normal"}'

Request parameters

ParameterTypeRequiredDescription
subAccountUidStringYesSub-account Uid
permListList<String>YesPermissions
transfer Transfer
deposit Deposit
withdraw Withdraw
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