跳转到主要内容
PUT
更新子用户

授权

Authorization
string
header
必填

路径参数

sub_user_id
integer<int32>
必填

通过"获取子用户列表"接口获取的子用户 ID

请求体

application/json
traffic_limit
number<float>

流量限额

auto_disable
boolean
默认值:false

当流量限额用完时禁用子用户

password
string<json>

必须包含:12 个或更多字符;至少一个大写字母;一个小写字母;一个数字;以下符号之一 _ ~ + =(不允许使用 @:)。

traffic_count_from
string<date>

从指定日期开始计算子用户订阅流量。使用日期格式 yyyy-mm-dd hh:mm:ss。

status
enum<string>
可用选项:
active,
disabled

响应

201

The response is of type object.