• Modules
  • Authentication
  • User Password Verifier
View Source Code

User Password Verifier

Update Password for User

Update a userID/password combination. Errors if user does not have a password.

Request

  • userId
    string
  • newPassword
    string
  • newAlgorithm
    optional union of literals

Response

Usage

1. Install the module

2. Use this script

const data = await ctx.modules.user_passwords.update({
  // Request body
});