Documentation Index
Fetch the complete documentation index at: https://mintlify.com/eggarcia98/auth-backend/llms.txt
Use this file to discover all available pages before exploring further.
POST /api/v1/auth/logout
Invalidates the current access token and clears the accessToken and refreshToken cookies.
Request
Headers
Bearer token for authentication. Format:
Bearer <accessToken>.Response
Whether the request succeeded.
Cookies cleared
On success, the server clears the following cookies:| Cookie | Action |
|---|---|
accessToken | Cleared |
refreshToken | Cleared |
Examples
Success response (200)
Errors
| HTTP status | Code | Description |
|---|---|---|
401 | UNAUTHORIZED | The Authorization header is missing or the token is invalid. |