Update user password
PUT
Change the current user password by providing current and new password
header
X-API-Key<token>API key authentication using X-API-Key header
Change the current admin password
application/json- body
Change the current admin password
currentPassword*stringCurrent password for verification
Length
8 <= lengthnewPassword*stringNew password to set
Length
8 <= lengthDefault Response
application/json- response
Standard success message response
message*stringHuman-readable result message
curl -X PUT 'http://localhost:3003/v1/users/update-password' \ -H 'Content-Type: application/json' \ -d '{ "currentPassword": "stringst", "newPassword": "stringst"}'Example Response
{ "message": "string"}