BinanceSubAccountUpdateIpRestriction
Update IP restrictions for a sub-account API key: enable IP-based access control by specifying allowed addresses or remove restrictions using sub-account ID, API key, and status.
Instructions
Update IP restriction for a sub-account API key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subAccountId": "<subAccountId>",
"subAccountApiKey": "<subAccountApiKey>",
"status": "<status>"
},
"name": "BinanceSubAccountUpdateIpRestriction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | IP restriction status: 1 - Restrict by IP, 2 - Unrestrict | |
| ipAddress | No | IP address (comma-separated for multiple) | |
| recvWindow | No | The value cannot be greater than 60000 | |
| subAccountId | Yes | Sub-account ID | |
| subAccountApiKey | Yes | Sub-account API key |