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(?!@#$%^&*)
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 '{"newPassword:"string"}' https://{api_host}/provider/users/{id}/reset-password