v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Sub-Account

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

Update IP Restriction for Sub-Account API key

Weight(UID): 3000

post/sapi/v2/sub-account/subAccountApi/ipRestriction

Query parameters

emailstring required

Sub-account email

subAccountApiKeystring required
statusstring required
Example:1

IP Restriction status. 1 = IP Unrestricted. 2 = Restrict access to trusted IPs only. 3 = Restrict access to users' trusted third party IPs only

thirdPartyNamestring

third party IP list name

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Update IP Restriction

statusstring required
ipListstring[] required
updateTimeinteger required
apiKeystring required

Example response

{
  "status": "2",
  "ipList": [
    "69.210.67.14",
    "8.34.21.10",
    "thirdPartyName"
  ],
  "updateTime": 1636369557189,
  "apiKey": "k5V49ldtn4tszj6W3hystegdfvmGbqDzjmkCtpTvC0G74WhK7yd4rfCTo4lShf"
}