Reset Password

Reset Password

Endpoint to reset the user password using the token received via email(token will be part of the user password reset link)
Authorized Roles : ANY

Request
URI
PUT
https://{api_host}/provider/recoverUserPassword
COPY
Request Body
UserPasswordResetDTO of type(s) application/json
Required
{
    "email": "string",
    "token": "string",
    "newPassword": "string"
}
string
email
Required

email

string
token
Required

token

string As ^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[?!@#$%^&*])[A-Za-z\d?!@#$%^&*]{8,20}$
newPassword
Required

newPassword

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Operation doesn't return any data structure

400

Bad Request

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"email:"string","newPassword:"string","token:"string"}' https://{api_host}/provider/recoverUserPassword