password-attributes/character-restriction

Resource URIs

URI Description
<base_URI>/config/running/password-attributes/character-restriction Restriction on various types of characters.

Parameters

lower
Specifies the minimum number of lower-case alphabetic characters that must occur in the password. The value can range from 0 through 32. The default minimum value is 8 lower-case alphabetic characters.
numeric
Specifies the minimum number of numeric characters. The value can range from 0 through 32. The default value is 0.
special-char
Specifies the minimum number of special characters. The value can range from 0 through 32 characters. The default value is 0 characters.
upper
Sets the number of uppercase alphabetic characters that must occur in the password.

Usage Guidelines

GET, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

The following example uses the GET option to retrieve the configuration details.

http://host:80/rest/config/running/password-attributes/character-restriction

None

<character-restriction y:self="/rest/config/running/password-attributes/character-restriction">
  <upper>1</upper>
  <lower>1</lower>
  <numeric>1</numeric>
  <special-char>1</special-char>
</character-restriction>

URI

The following is an example of the PATCH operation to modify the character restriction parameters.

http://host:80/rest/config/running/password-attributes

<password-attributes>
  <character-restriction>
    <upper>2</upper>
    <lower>2</lower>
    <numeric>2</numeric>
    <special-char>1</special-char>
  </character-restriction>
</password-attributes>

None

URI

The following is an example of the DELETE operation to change to the default setting.

http://host:80/rest/config/running/password-attributes

None

None