cURL
curl --request POST \ --url http://localhost:3000/api/canary/authentication/forget-password \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]" } '
{ "statusCode": 400, "message": [ "Invalid input data" ], "error": "Bad Request" }
Send a password reset email to the user
The email address of the user
"[email protected]"
Password reset email sent