Proxy-seller

住宅子包(子用户)

Updated:

子包是您住宅池中为另一个人或项目划出的部分:它拥有独立的密钥、流量配额、有效期和列表。创建子包会预留您已拥有的流量——它并不购买任何东西。

权限:account:read,account:write

在本小组中

工具

功能说明

list_resident_subpackages

🟢read

所有包含package_key,已分配/已使用/剩余流量(字节)、轮询周期、过期时间、状态。

create_resident_subpackage

🟡write

从您已拥有的流量中创建一个子包。

update_resident_subpackage

🟡write

将“traffic”改为“流量”、“expiry”改为“过期”、“rotation”改为“轮换”或“pause/resume”改为“暂停/恢复”。

delete_resident_subpackage

🔴delete

删除一个子包及其列表。

list_resident_subuser_lists

🟢read

所有列表均包含在一个子包中。

add_resident_subuser_list

🟡write

同上add_resident_list,此外package_key.

rename_resident_subuser_list

🟡write

将子包中的一个列表重命名。

set_resident_subuser_rotation

🟡write

更改子包内一个列表的排列顺序。

delete_resident_subuser_list

🔴delete

删除子包内的一个列表。

create_resident_subuser_tools_list

🟡write

子包内的API工具列表。

list_resident_subpackages

🟢read-only · account:read

所有包含package_key,已分配/已使用/剩余流量(字节)、轮询、过期时间、状态。

create_resident_subpackage

🟡changes account state · account:write

从您已拥有的流量中创建一个子包。

参数

类型

描述

traffic_limit 必填

整数

字节(1 GB = 1073741824),取自您的词库

expired_at

字符串

yyyy-MM-dd

is_link_date

布尔值

遵循父包的过期规则

rotation

整数

列表的默认排序方式

update_resident_subpackage

🟡changes account state · account:write

修改流量、有效期、轮换或暂停/恢复。至少发送一个字段。

参数

类型

描述

package_key 必填

字符串

子包键

traffic_limit

整数

字节

expired_at

字符串

yyyy-MM-dd

is_link_date

布尔值

遵循父条目的过期规则

rotation

整数

默认循环

is_active

布尔值

false 暂停访问,但不删除任何内容

delete_resident_subpackage

🔴destructive · account:write

删除一个子包及其列表。未使用的流量将返还至您的流量池。

参数

类型

描述

package_key 必填

字符串

子包键

list_resident_subuser_lists

🟢read-only · account:read

所有列表均包含在一个子包中。password 除非您特别要求,否则结果将以匿名形式返回。

参数

类型

描述

package_key 必填

字符串

子包键

reveal

布尔值

返回password 用“清晰”代替••••。助理会先与您确认——参见代理密码和AI提供商

add_resident_subuser_list

🟡changes account state · account:write

同上add_resident_list,此外package_key.country 是必填 此处。

rename_resident_subuser_list

🟡changes account state · account:write

将子包中的一个列表重命名。

参数

类型

描述

package_key 必填

字符串

子包键

id 必填

字符串 | 整数

列表 ID

title 必填

字符串

新名称

set_resident_subuser_rotation

🟡changes account state · account:write

更改子包内一个列表的排列顺序。

参数

类型

描述

package_key 必填

字符串

子包键

id 必填

字符串 | 整数

列表 ID

rotation 必填

整数

-1,0,1–3600,或-2 使用子包默认设置

delete_resident_subuser_list

🔴destructive · account:write

删除子包内的一个列表。

参数

类型

描述

package_key 必填

字符串

子包键

id 必填

字符串 | 整数

列表 ID

create_resident_subuser_tools_list

🟡changes account state · account:write

子包内的API工具列表。

参数

类型

描述

package_key 必填

字符串

子包键

后续步骤

On this page