POST /auth/get-password-reset-email/{email}
Request a password reset email
Sends a password reset email with a reset token to the specified email address
Required Parameters
email
path string Email address to send the password reset link to
Try it out
Loading...
Output:
Responses
Description
Password reset email sent successfully
{ "message": "Password reset email sent to user@example.com"}Description
Bad request - invalid email format
{ "error": "string", "status": 0}Description
Not found - account with this email address does not exist
{ "error": "string", "status": 0}Description
Internal server error
{ "error": "string", "status": 0}References
#/components/schemas/Error
type: objectproperties: error: type: string description: Error message status: type: integer description: HTTP status coderequired: - errordescription: Error response object|export interface Error { /** Error message */ error: string; /** HTTP status code */ status?: number;}Route Source Code
Check out the source code for this route entrypoint here: /auth/get-password-reset-email/[email]/route.ts
Or the swagger.yaml spec this documentation was generated from:
/auth/get-password-reset-email/[email]/swagger.yaml