code: def remove_server(self, name):
          
          for i in self._server_list:
              if i['key'] == name:
                  try:
                      self._server_list.remove(i)
                      logger.debug("Remove server %s from the list" % name)
                      logger.debug("Updated servers list (%s servers): %s" % (
                          len(self._server_list), self._server_list))
                  except ValueError:
                      logger.error(
                          "Cannot remove server %s from the list" % name)
docs: Remove a server from the dict.