List password policies

Retrieve the list of all existing password policies, including the default one (Horizon-Default)

Responses
  • 200 Password policy list

    Array [

    _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

    ]

  • 204 No password policy defined or insufficient permissions
  • 401 Authentication error
  • 403 Forbidden action
  • 500 Unexpected internal server error