Create a password policy
Create a new password policy. By default, Horizon has a default password policy named 'Horizon-Default' that enforces 16 bytes passwords
The password policy to register
_id
string (Internal ID)
requiredThe internal ID of the password policy |
name
string
requiredThe name of the password policy |
minChar
integer
requiredThe minimum number of characters of the password |
maxChar
integer | null
The maximum number of characters of the password |
minUpChar
integer | null
The minimum number of uppercase characters of the password |
minLoChar
integer | null
The minimum number of lowercase characters of the password |
minDiChar
integer | null
The minimum number of digits of the password |
spChar
string | null
The special characters of the password accepted by the password policy |
minSpChar
integer | null
The minimum number of special characters of the password |
-
201 Password policy successfully registered
_idstring (Internal ID) requiredThe internal ID of the password policy
namestring requiredThe name of the password policy
minCharinteger requiredThe minimum number of characters of the password
maxCharinteger | nullThe maximum number of characters of the password
minUpCharinteger | nullThe minimum number of uppercase characters of the password
minLoCharinteger | nullThe minimum number of lowercase characters of the password
minDiCharinteger | nullThe minimum number of digits of the password
spCharstring | nullThe special characters of the password accepted by the password policy
minSpCharinteger | nullThe minimum number of special characters of the password
-
400 Unable to register the password policy
-
401 Authentication error
-
403 Forbidden action
-
500 Unexpected internal server error