cURL
curl --request POST \ --url https://api.logfleet.io/api/v1/auth/forgot-password \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]" } '
{ "message": "<string>", "token": "<string>" }
Initiates password reset flow. In production, sends email with reset link. In development, returns token in response for testing.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Request processed (always returns success to prevent enumeration)
Only returned in non-production environments