kuzan-3wok0a/endpoints/LOGOUT.post.py
2025-03-21 18:24:50 +00:00

17 lines
351 B
Python

from fastapi import APIRouter, HTTPException
users = [] # In-memory storage
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
}
}