# Entity: User from fastapi import APIRouter, Depends, status from core.auth import logout_user from schemas.user import UserLogoutSchema router = APIRouter() @router.post("/logout", status_code=200, response_model=UserLogoutSchema) async def logout(user=Depends(logout_user)): return {"message": "Logged out successfully"}