okx_reset_subaccount_api_key
Modify a subaccount's API key by updating its permissions, IP whitelist, or label on OKX exchange.
Instructions
[L:READ] CAT:[账户-子账户] | → 请先调用 agent_catalog
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": {
"subAcct": "<subAcct>",
"apiKey": "<apiKey>"
},
"name": "okx_reset_subaccount_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | 新IP白名单,多个用逗号分隔 | |
| perm | No | 新权限字符串 | |
| label | No | API Key新备注 | |
| apiKey | Yes | 需要修改的API Key。必填 | |
| subAcct | Yes | 子账户名称。必填 |