UserPasswordPolicy

POST /api/user/validate_password

    Check if the password meets the password policy.
    :param password: The password to validate.
    :param username: The name of the user (optional).
    :param old_password: The old password (optional).
    :return: An object with properties valid, credits and valuation.
    'credits' contains the password complexity credits and
    'valuation' the textual summary of the validation.
    

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/user/validate_password
  • Auth
    HTTP bearer

Request body

old_passwordstring
passwordstring required
usernamestring

Response

Resource created.

object required

Changes

No recorded changes to this operation across all 68 revisions of this API.