Reset User Password

Reset User Password

Use this endpoint to reset user password
Authorized Roles : PROVIDER or ORG_ADMIN

Request
URI
PUT
https://{api_host}/provider/users/{id}/reset-password
COPY
Path Parameters
integer
id
Required

ID of the user


Request Body
resetPasswordDTO of type(s) application/json
Required
{
    "newPassword": "string"
}
string As ^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[?!@#$%^&*])[A-Za-z\d?!@#$%^&*]{8,20}$
newPassword
Required

Password Rule - Minimum 8 and Maximum 20 characters, at least one uppercase letter, one lowercase letter, one number and one special character(?!@#$%^&*)

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