cURL
curl --request POST \ --url https://api.example.com/auth/reset-password \ --header 'Content-Type: application/json' \ --data ' { "token": "reset-token-uuid", "newPassword": "newpassword123" } '
{ "message": "Password has been reset successfully" }
"reset-token-uuid"
"newpassword123"
Password reset successful
"Password has been reset successfully"