Autional Autional
API Reference GitHub autional.com →

PUT /admin/tenants/{tenant_id}/minors-protection

Update the minor protection configuration for a specified tenant

Tenant Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Tenant ID

Request Body

Schema: dto.UpdateMinorsProtectionConfigRequest

FieldTypeRequiredExampleConstraintsDescription
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

Responses

StatusDescriptionSchema
200Update successfuldto.MinorsProtectionConfigResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticatedgitee_com_linmes_authms_base_dto.SimpleResponse
403Insufficient permissionsgitee_com_linmes_authms_base_dto.SimpleResponse
404Resource not foundgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.MinorsProtectionConfigResponse

FieldTypeRequiredExampleConstraintsDescription
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

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No