POST /api/v1/auth/password/reset.App\Http\Controllers\Api\V1\Auth\AuthController::forgotPassword()api.v1.auth.password.forgotthrottle:auth — 10 requests per minute per IP address.POST/api/v1/auth/password/forgotapplication/json{ "email": "diver@example.com" }| Field | Type | Required | Validation | Description |
|---|---|---|---|---|
email | string | Yes | required|email:rfc,dns | Well-formed email address. Does not need to belong to an existing account. |
App\Http\Requests\Api\V1\Auth\ForgotPasswordRequest.200 OK{
"success": true,
"status": "success",
"message": "Password reset link sent to your email"
}data key. Returned for any well-formed email, whether or not it belongs to a registered account.422 Unprocessable Entity — validation{
"success": false,
"status": "error",
"message": "Validation failed",
"errors": {
"email": ["The email field must be a valid email address."]
}
}429 Too Many Requests{
"success": false,
"status": "error",
"message": "Too many requests"
}Retry-After header present. The throttle:auth limiter allows 10 requests per minute per IP address, shared across register, login, password/forgot and password/reset.Notification is sent for an unregistered address. POST /api/v1/auth/login follows the same principle by returning an identical message on invalid credentials.docs/api/auth/POST_forgot_password.mdcurl --location 'https://test.diveraid.com/api/v1/auth/password/forgot' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "user@example.com"
}'{
"status": "success",
"message": "string",
"data": null
}