    {
        // Simply delete the token from the database
        $request->user()->currentAccessToken()->delete();

        return response()->json([
            'message' => 'You have successfully logged out!',
        ]);
    }
}