Skip to main content

Freeze Sub UID

Freeze Sub UID. Use master user's api key only.

tip

The API key must have one of the below permissions in order to call this endpoint..

  • master API key: "Account Transfer", "Subaccount Transfer", "Withdrawal"

HTTP Request

POST /v5/user/frozen-sub-member

Request Parameters

ParameterRequiredTypeComments
subuidtrueintegerSub user Id
frozentrueinteger0:unfreeze, 1:freeze

Response Parameters

None

Request Example

POST /v5/user/frozen-sub-member HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1676430842094
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json

{
"subuid": 53888001,
"frozen": 1
}

Response Example

{
"retCode": 0,
"retMsg": "",
"result": {},
"retExtInfo": {},
"time": 1676430697553
}