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
| Name | Type | Required | Description |
|---|---|---|---|
| token | string | required | Reset token from email link. |
| password | string | required | New 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
| Field | Type | Description |
|---|---|---|
| message | string | Success message. |
json
{
"message": "Password reset successfully. Please log in with your new password."
}