def METHOD_NAME(self, request, slug, project_id, view_id):
    try:
        view_favourite = IssueViewFavorite.objects.get(
            project=project_id,
            user=request.user,
            workspace__slug=slug,
            view_id=view_id,
        )
        view_favourite.delete()
        return Response(status=status.HTTP_204_NO_CONTENT)
    except IssueViewFavorite.DoesNotExist:
        return Response(
            {"error": "View is not in favorites"},
            status=status.HTTP_400_BAD_REQUEST,
        )
    except Exception as e:
        capture_exception(e)
        return Response(
            {"error": "Something went wrong please try again later"},
            status=status.HTTP_400_BAD_REQUEST,
        )