Add IP Restriction for Sub-Account API key(For Master Account)
#
API DescriptionAdd IP Restriction for Sub-Account API key
#
HTTP RequestPOST /sapi/v2/sub-account/subAccountApi/ipRestriction
#
Request Weight(UID)3000
#
Request ParametersName | Type | Mandatory | Description |
---|---|---|---|
STRING | YES | Sub-account email | |
subAccountApiKey | STRING | YES | |
status | STRING | YES | IP Restriction status. 1 = IP Unrestricted. 2 = Restrict access to trusted IPs only. |
ipAddress | STRING | NO | Insert static IP in batch, separated by commas. |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
- You need to enable Enable Spot & Margin Trading option for the api key which requests this endpoint