POST /user-management-v2/password-policy
FROM API REVISION 6.0
This resource is used to edit the password policy of the Local user management system.
There are several aspects that can be updated to the users convenience :
If this parameter is not in the request, the Application/Json will be chosen by default.
There are multiple possible values (according the resource):
The first two are the most often used.
There are multiple possible values according the resource:
If this parameter is not present during the request, and error 415 Unsupported Media Type will be thrown.
The Content-Length entity-header field indicates the size of the entity-body.
Object Name: PasswordPolicy
Property Name | Type | Description | Method |
---|---|---|---|
PasswordLength | Integer | This property is the minimum password's length. This value can't be lower to 8 and up to 64. | GET POST |
UppercaseEnabled | Boolean | This property is used to indicate if the uppercase are required in the password. | GET POST |
LowercaseEnabled | Boolean | This property is used to indicate if the lowercase are required in the password. | GET POST |
NumberEnabled | Boolean | This property is used to indicate if number are required in the password. | GET POST |
SymbolEnabled | Boolean | This property is used to indicate if symbol are required in the password. | GET POST |
UppercaseLength | Integer | This property is the minimum number of uppercase letter. | GET POST |
LowercaseLength | Integer | This property is the minimum number of lowercase letter. | GET POST |
NumberLength | Integer | This property is the minimum number of number character. | GET POST |
SymbolLength | Integer | This property is the minimum number of symbol. | GET POST |
URL Example: https://0.0.0.0/api/rest/v1/user-management-v2/password-policy
{
"lowercaseLength": 1,
"uppercaseLength": 1,
"numberLength": 1,
"uppercaseEnabled": true,
"numberEnabled": true,
"passwordLength": 8,
"symbolEnabled": false,
"lowercaseEnabled": true,
"symbolLength": 1
}
URL Example: https://0.0.0.0/api/rest/v1/user-management-v2/password-policy
<?xml version="1.0" encoding="utf-8"?>
<PasswordPolicy>
<PasswordLength>8</PasswordLength>
<UppercaseEnabled>true</UppercaseEnabled>
<UppercaseLength>1</UppercaseLength>
<LowercaseEnabled>true</LowercaseEnabled>
<LowercaseLength>1</LowercaseLength>
<NumberEnabled>true</NumberEnabled>
<NumberLength>1</NumberLength>
<SymbolEnabled>false</SymbolEnabled>
<SymbolLength>1</SymbolLength>
</PasswordPolicy>