Skip to main content

Update IP Restriction for Sub-Account API key (For Master Account)

Update IP Restriction for Sub-Account API key (For Master Account)

POST /sapi/v2/broker/subAccountApi/ipRestriction (HMAC SHA256)

Weight(UID):3000

Parameters:

NameTypeMandatoryDescription
subAccountIdSTRINGYES
subAccountApiKeySTRINGYES
statusSTRINGYESIP Restriction status. 1 = IP Unrestricted. 2 = Restrict access to trusted IPs only.
ipAddressSTRINGNOInsert static IP in batch, separated by commas.
recvWindowLONGNO
timestampLONGYES

Response:

{
"status": "2",
"ipList": [
"69.210.67.14",
"8.34.21.10" //only return if you open IP restriction and input IP address.
],
"updateTime": 1636371437000,
"apiKey": "k5V49ldtn4tszj6W3hystegdfvmGbqDzjmkCtpTvC0G74WhK7yd4rfCTo4lShf"
}