User Logout
Logout¶
- Route:
POST /logout
- Description: Logs out the user and invalidates the session.
- Method:
POST
- Successful Response:
- Status Code:
200 OK
- Content:
{ "detail": "Logged out successfully" }
- Status Code:
- Bad Response:
- Status Code:
401 Unauthorized
- Content:
{ "detail": "Invalid or expired token" }
- Status Code: