v26

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

Get IP Restriction for a Sub-account API Key (For Master Account)

Weight(UID): 3000

get/sapi/v1/sub-account/subAccountApi/ipRestriction

Query parameters

emailstring required

Sub-account email

subAccountApiKeystring required
recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

IP Restriction information

ipRestrictstring required
ipListstring[] required
updateTimeinteger required
apiKeystring required

Example response

{
  "ipRestrict": "true",
  "ipList": [
    "69.210.67.14",
    "8.34.21.10"
  ],
  "updateTime": 1636369557189,
  "apiKey": "k5V49ldtn4tszj6W3hystegdfvmGbqDzjmkCtpTvC0G74WhK7yd4rfCTo4lShf"
}