projects-m337pl/endpoints/logout.post.py
2025-03-25 08:11:25 +00:00

15 lines
318 B
Python

from fastapi import APIRouter, HTTPException
router = APIRouter()
@router.post("/logout")
async def logout_demo():
"""Demo logout endpoint"""
return {
"message": "Logout successful",
"token": None,
"features": {
"rate_limit": 0,
"expires_in": 0
}
}