code: def _delUserFromGroup(self, username, group="Clients"):
          
          portal_groups = api.portal.get_tool("portal_groups")
          group = portal_groups.getGroupById(group)
          group.removeMember(username)
docs: Remove user from the group