Autional Autional
API Reference GitHub autional.com →

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

Get the minor protection configuration for a specified tenant, including anti-addiction, curfew, spending limits, etc.

Tenant Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Tenant ID

Responses

StatusDescriptionSchema
200Minor protection configurationdto.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