PUT /admin/tenants/{id}/minors-protection
更新指定租户的未成年人保护配置
租户服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
租户ID |
Request Body
Schema: dto.UpdateMinorsProtectionConfigRequest
| Field | Type | Required | Example | Constraints | Description |
child_default_max_privacy |
boolean |
No |
|
|
|
content_filter_enabled |
boolean |
No |
|
|
|
daily_usage_limit_min |
integer |
No |
|
|
|
digital_consent_age |
integer |
No |
|
|
|
live_stream_blocked_under_16 |
boolean |
No |
|
|
|
minor_data_retention_days |
integer |
No |
|
|
|
minors_age_threshold |
integer |
No |
|
|
|
monthly_spend_limit |
integer |
No |
|
|
|
night_mode_enabled |
boolean |
No |
|
|
|
night_mode_end |
string |
No |
|
|
|
night_mode_start |
string |
No |
|
|
|
Referenced Schemas
dto.MinorsProtectionConfigResponse
| Field | Type | Required | Example | Constraints | Description |
child_default_max_privacy |
boolean |
No |
True |
|
|
content_filter_enabled |
boolean |
No |
False |
|
|
daily_usage_limit_min |
integer |
No |
60 |
|
|
digital_consent_age |
integer |
No |
13 |
|
|
live_stream_blocked_under_16 |
boolean |
No |
False |
|
|
minor_data_retention_days |
integer |
No |
365 |
|
|
minors_age_threshold |
integer |
No |
18 |
|
|
monthly_spend_limit |
integer |
No |
10000 |
|
|
night_mode_enabled |
boolean |
No |
False |
|
|
night_mode_end |
string |
No |
06:00 |
|
|
night_mode_start |
string |
No |
22:00 |
|
|
tenant_id |
string |
No |
tnt_abc123 |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|