Reset Password

Set a new password using the token from the reset email.

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

Request Body

Body Parameters

NameTypeRequiredDescription
tokenstringrequiredReset token from email link.
passwordstringrequiredNew password (min 8 characters).

Example Request

cURL
curl -X POST https://api.marinahealth.eu/auth/reset-password \
  -H "Content-Type: application/json" \
  -d '{
    "token": "abc123resettoken",
    "password": "newpassword123"
  }'

Response

Successful
FieldTypeDescription
messagestringSuccess message.
json
{
  "message": "Password reset successfully. Please log in with your new password."
}