Changes a user's password using their access token (JWT) instead of the changePasswordId A common use case for this method will be if you want to allow the user to change their own password. Remember to send refreshToken in the request body if you want to get a new refresh token when login using the returned oneTimePassword. OR Changes a user's password using their identity (loginId and password). Using a loginId instead of the changePasswordId bypasses the email verification and allows a password to be changed directly without first calling the #forgotPassword method.

post/api/user/change-password

Request

  • Base URL: http://localhost:9011
  • URL: http://localhost:9011/api/user/change-password
  • Auth: HTTP bearer

Request body

applicationIdstring uuid
changePasswordIdstring
currentPasswordstring
loginIdstring
loginIdTypesstring[]
passwordstring
refreshTokenstring
trustChallengestring
trustTokenstring

Response

Success

oneTimePasswordstring
stateobject

Changes

No recorded changes to this operation across all 1 revision of this API.