We are referring Laravel 11 doc.
https://laravel.com/docs/11.x/passwords#password-reset-link-handling-the-form-submission
$status = Password::sendResetLink(
$request->only('email')
);
At this line its throw error as
ERROR: Call to undefined method IlluminateValidationRulesPassword::sendResetLink() {“exception”:”[object] (
Error
(code: 0): Call to undefined method IlluminateValidationRulesPassword::sendResetLink() at C:wamp64wwwirpnewappHttpControllersApiAuthController.php:86)
Any assistance would be greatly appreciated.