cURL
curl --request POST \ --url https://psn-api.paystub.dev/auth/forgot-password \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]" } '
{ "success": true, "data": {}, "message": "Password reset link sent successfully" }
Send a password reset link to the user’s email
"[email protected]"
Password reset link sent successfully
true
"Password reset link sent successfully"