Modify password policy
Modifies the password policy settings in the GUI. The parameters are all optional and can be issued separately.
Request syntax
Request body parameters
passwordAttemptsAllowed
(number, optional)-
Number of invalid password attempts before a user account is locked.
minChars
(number, optional)-
Minimum number of characters required for new passwords. Valid values range from 8 to 30.
minUpperCaseChars
(number, optional)-
Minimum number of uppercase characters ('A'-'Z') required for new passwords. Valid values range from 0 to 3.
MinLowerCaseChars
(number, optional)-
Minimum number of lowercase characters ('a'-'z') required for new passwords. Valid values range from 0 to 3.
minNumericChars
(number, optional)-
Minimum number of numeric characters (0-9) required for new passwords. Valid values range from 0 to 3.
minSpecialChars
(number, optional)-
Minimum number of special characters (!@#$%) required for new passwords. Valid values range from 0 to 3.
maxIdenticalConsecutiveChars
(number, optional)-
Maximum number of identical consecutive characters allowed for new passwords. Valid values range from 0 to 3.
maxPasswordAge
(number, optional)-
Number of days it takes for a user's password to expire after it is set. Valid values range from 1 to 365. The value can be set to null to disable password expiration.
minPasswordAge
(number, optional)-
Number of days that must pass before a password can be modified by the user. Valid values range from 1 to 365. The value can be set to null to disable this minimum.
uniquePasswords
(number, optional)-
Number of unique passwords required before a password can be reused. Valid values range from 1 to 8. The value can be set to null to disable this requirement.
Example
> PATCH /v1/authentication/passwordPolicy {"minChars": 16,
"minUpperCaseChars": 1, "minLowerCaseChars": 1, "minNumericChars": 1,
"minSpecialChars": 1}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 0