Skip to main content

Validate password for a user

POST 

/api/admin/user-admin/validate-password

Validate the password strength. Minimum 10 characters, uppercase letter, number, special character.

Request

Body

required

passwordSchema

    password stringrequired

    The new password to change or validate.

    Example: k!5As3HquUrQ
    oldPassword string

    The old password the user is changing. This field is for the non-admin users changing their own password.

    Example: Oldk!5As3HquUrQ
    confirmPassword string

    The confirmation of the new password. This field is for the non-admin users changing their own password.

    Example: k!5As3HquUrQ

Responses

This response has no body.

Loading...