自定义子账号账密
sub_account_set_credentialsUpdate credentials for multiple proxy sub-accounts at once by specifying product and a list of IDs with custom username and password.
Instructions
为子账号设置自定义用户名和密码,一次可传多个;覆盖 content 里每个子账号的账号与密码。
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": {
"product": "<product>",
"content": "<content>"
},
"name": "sub_account_set_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | 要修改的子账号列表,每项写子账号 id、自定义用户名、自定义密码 | |
| product | Yes | 产品:dynamic-no-expiry=动态住宅流量(永久),dynamic-monthly=动态住宅流量(期限),static-standard=静态住宅(非原生),static-native=静态住宅(原生),static-isp-native=静态住宅(运营商原生),static-ipv6=静态住宅(IPv6),datacenter=数据中心 | |
| confirm_token | No | 确认码。客户端不支持弹窗确认时,第一次调用只返回操作预览和确认码;把预览告诉用户并得到同意后,用相同参数带上确认码再调一次。支持弹窗确认的客户端不需要这个参数 |