Unify and manage your data

LengthPRule

This rule determines if a password is within a desired length.

This rule determines the desired length of a password.

Request PUT {oauth_uri}/customers/{customerId}/passwordPolicy
Table 1. Parameters
ParameterDescriptionTypeSyntax
min

The numerical value equal to the minimum number of allowed characters for a password.

Number "min": 4
maxThe numerical value equal to the maximum number of allowed characters for a password.Number "max": 20
{ "passwordRules": [ { "type": ".LengthPRule", "min": 4, "max": 20 } ] }