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
Parameter | Type | Required | Description |
---|---|---|---|
subAccountUid | String | Yes | Sub-account Uid |
permList | List<String> | Yes | Permissions transfer Transfer deposit Deposit withdraw Withdraw spot_trade Spot trade contract_trade Futures trade read-write read Read permissions |
status | String | Yes | Sub-account status normal Normal freeze Freeze |
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1682660666458,
"data": {
"result": "success"
}
}
Response Parameters
Parameter | Type | Description |
---|---|---|
result | String | Edit result success Success failure Failure |