Reset User Password
API URL
{{url}}/fhir-user-service/users/reset-password
Method
PUT
Request Headers
Authorization : Bearer [token]
Description
Resets user password
Input
Field Name
Type
Example
Authorization(Header)
String
Authorized token from login response
token
String
Authorized token from login response
password
String
new user password
Sample Input:
{
"token": "eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJGSElSQXBwbGljYXRpb24iLCJleHAiOjE3MDAwNDY2MzEsImlhdCI6MTY5OTk2MDIzMSwianRpIjoiMiIsInVzZXJuYW1lIjoiYWthc2guZ29waW5hdGhAaWRlYXMyaXQuY29tIn0.pJvg04HH_yLW7wG9mBJaQq2vACkKuXPVQVTUjd_yDY8",
"password": "HashedPassword"
}
Sample Output:
{
"dateTime": 1713446803463,
"status": true,
"errorCode": 200,
"message": "Password has been set successfully.",
}
Last updated