Skip to main content

User Update Password

is used update password

Request address

  • API Address (requestURI) : /openapi/v1/user/update/newPassword

Request parameters

Parameter nameTypeRequirementDescription
userIdStringRUser ID
oldPasswordStringREncrypted old password from the frontend
newPasswordStringREncrypted new password from the frontend
newPassword2StringRSecond entry of the new password for confirmation

Sample request

{
"newPassword": "k8/3tmBn8x2lcnGHtX3ZDWK/OwlXDVYyb3dWk+l9KNIdKr1zpvuRdwVL7OVlTtvgAVFMAs/a2X/Ajf4XY4/y/hPX82Ps8HpSzP3LLnemQpa1G3YU9qRzwVwmgV+zInMDmn7SHJ/XKj1uaGkiORUVj+u9e8TVXljqe3XglPx6S84=",
"newPassword2": "B4lw+S/z1nuGsqSXsTOgtPXmiym0N8RQoCEjZKenr4IWm3Chs8dl1ut03zbtbPiHtxUFRsWnNrBmGnqcAMUbPV9z1Ozk/ry+vQkIc1QFfuYx8fJkhmxqYpFaV51urCCYRpDarxk320oCjgd3PswbnSDLhEFqKzRvFvOWs6Ij79c=",
"oldPassword": "WZMZrqI9jC0042qEkvTejPdPPXeuL5ctoJRq0G3px7qvAA08K9CoFr84Ykz0HmZe06oOVXTls3i7NGt2ithNLM499b+jNoTpoU31luXnvhqIBYZ5VTByeURq4pCeQmarTWhu9vZU+k+N3RTOLEVeeKh+lnPBpCo+ZMLvV8Ui9Ro=",
"userId": "0a5507e23b684fe9bb7940edecfe34b2"
}

Response parameters

Parameter nameTypeRequirementDescription
codeStringRResponse code
msgStringRResponse message
data-OData returned (if applicable)
successBooleanRIndicates if the operation was successful

Sample response

{
"code": "0",
"msg": "ok",
"data": null,
"success": true
}