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

16 lines
351 B
Python

from fastapi import APIRouter, HTTPException
router = APIRouter()
@router.post("/LOGOUT")
async def logout_demo():
"""Demo logout endpoint"""
return {
"message": "Logout successful",
"method": "POST",
"_verb": "post",
"features": {
"rate_limit": 100,
"expires_in": 3600
}
}