Forgot Password

Request a password-reset email. Always returns 200 to prevent email enumeration.

POSThttps://api.marinahealth.eu/auth/forgot-password
application/json

Request Body

Body Parameters

NameTypeRequiredDescription
emailstringrequiredEmail address to send reset link to.

Example Request

cURL
curl -X POST https://api.marinahealth.eu/auth/forgot-password \
  -H "Content-Type: application/json" \
  -d '{"email": "user@example.com"}'

Response

Successful
FieldTypeDescription
messagestringGeneric success message.
json
{
  "message": "If this account exists, a password reset link has been sent."
}