diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index af407f2cb..8b56eeaec 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -2222,16 +2222,3 @@ def transfer_project(self, id, **kwargs): class GroupManager(BaseManager): obj_cls = Group - - def search(self, query, **kwargs): - """Searches groups by name. - - Args: - query (str): The search string - all (bool): If True, return all the items, without pagination - - Returns: - list(Group): a list of matching groups. - """ - url = '/groups?search=' + query - return self.gitlab._raw_list(url, self.obj_cls, **kwargs)