app/Http/Controllers/Api/AuthController.php
/**
     * Log the user out of the application.
     *
     * @param \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
Log the user out of the application.
Log the user out of the application .
public function logout()
    {
        Auth::guard('api')->logout();
        return response()->json([],204);
    }
public function logout ( ) { Auth :: guard ( 'api' ) -> logout ( ) ; return response ( ) -> json ( [ ] , 204 ) ; }
Log the user out of the application.
Log the user out of the application .