code: def remove_volume(self, volume_name):
          
          logger.info("removing volume '%s'", volume_name)
          try:
              self.d.remove_volume(volume_name)
          except APIError as ex:
              if ex.response.status_code == requests.codes.CONFLICT:
                  logger.debug("ignoring a conflict when removing volume %s", volume_name)
              else:
                  raise ex
docs: remove a volume by its name
  
          :param volume_name: str
          :return None