跳至主要内容

刪除子帳戶

刪除子帳戶. 在刪除前, 確保該帳戶已經沒有資產了
僅可使用帳戶api key調用.

提示

在調用接口時,使用的API key至少需要擁有以下其中一種權限

  • 母API key: "Account Transfer(資產帳戶劃轉)", "Subaccount Transfer(母子帳戶劃轉)", "Withdrawal(提幣)"

HTTP 請求

POST /v5/user/del-submember

請求參數

參數是否必須類型說明
subMemberIdtruestringSub UID

返回參數

請求示例

POST /v5/user/del-submember HTTP/1.1
Host: api.bybit.com
X-BAPI-API-KEY: XXXXXX
X-BAPI-TIMESTAMP: 1698907012755
X-BAPI-RECV-WINDOW: 5000
X-BAPI-SIGN: XXXXXX
Content-Type: application/json
Content-Length: 34

{
"subMemberId": "112725187"
}

響應示例

{
"retCode": 0,
"retMsg": "OK",
"result": {},
"retExtInfo": {},
"time": 1698907012962
}