PUT /admin/security/password-policy
Update password policy configuration at runtime, supporting multi-tenant differentiated settings
Security Policy `bearerAuth` application/json
Request Body
Schema: dto.UpdatePasswordPolicyRequest
| Field | Type | Required | Example | Constraints | Description |
change_cooldown_minutes |
integer |
No |
|
|
Password change cooldown time (minutes) |
expiry_days |
integer |
No |
|
|
Password expiration days |
grace_period_days |
integer |
No |
|
|
Expiration grace days |
history_count |
integer |
No |
|
|
Password history retention count |
lock_duration_sec |
integer |
No |
|
|
Account lockout time (seconds) |
max_length |
integer |
No |
|
|
Maximum length |
max_login_attempts |
integer |
No |
|
|
Maximum login failure count |
min_length |
integer |
No |
|
|
Minimum length |
password_transmission |
string |
No |
|
|
Password transmission method |
require_digit |
boolean |
No |
|
|
Require digit |
require_lower |
boolean |
No |
|
|
Require lowercase letter |
require_special |
boolean |
No |
|
|
Require special character |
require_upper |
boolean |
No |
|
|
Require uppercase letter |
Referenced Schemas
dto.SimpleResponseWrapper
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|