跳到主要内容

修改虚拟子账户

限速规则 5次/1s (UID)

描述

修改虚拟子账户

HTTP请求

  • POST /api/v2/user/modify-virtual-subaccount
请求示例
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"}'

请求参数

参数名参数类型是否必须描述
subAccountUidString子账号Uid
permListList<String>权限
spot_trade 现货交易
contract_trade 合约交易读写
read读取权限
statusString子账号状态
normal 正常
freeze 冻结
成功返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1682660666458,
"data": {
"result": "success"
}
}

返回参数

返回字段参数类型字段说明
resultString修改结果
success成功
failure失败