Update a password policy

Update an existing password policy based on its internal name

Body required
application/json

The password policy to update

name
string required

The name of the password policy

minChar
integer required

The 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

Responses
  • 200 Password policy successfully updated
    _id
    string (Internal ID) required

    The internal ID of the password policy

    name
    string required

    The name of the password policy

    minChar
    integer required

    The 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

  • 400 Unable to update the password policy
  • 401 Authentication error
  • 403 Forbidden action
  • 404 Password policy not found
  • 500 Unexpected internal server error