https://www.youtube.com/watch?v=H1KiXEsmsCs&list=PLT9miexWCpPW6Z_OXNv2d78cqCrZaPrVG&index=34 Routes.php: ```php //Get $routes->get("logout", "AuthController::logout", ["filter" => "apiauth"]); ``` AuthController.php ```php public function logout() { auth()->logout(); auth()->user()->revokeAllAccessTokens(); return $this->respondCreated([ "status" => true, "message" => "User logged out successfully", "data" => [] ]); } ```