Pria UI now available in Dark mode !
cURL
curl --request POST \ --url http://localhost:3000/api/auth/changePassword \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]", "resetCode": "ABC123", "password": "newSecurePassword456" } '
{ "success": true, "message": "Password changed successfully" }
Changes the user’s password using a valid reset code
User email address
"[email protected]"
Valid reset code
"ABC123"
New password (minimum 6 characters)
6
"newSecurePassword456"
Password changed successfully
true
"Password changed successfully"
Was this page helpful?