code: def delete_connections(self, vhost=None):
      result = self.get_connections()
      names = None
      try:
          if result.status_code == 200:
              if vhost is None:
                  names = [e["name"] for e in result.json()]
              else:
                  names = [
                      e["name"]
                      for e in result.json()
                      if e["vhost"] == vhost
                  ]
      except BaseException:
          names = None
      LOGGER.debug(f"[rabbitmanager.delete_connections] {names}")
      if names is not None:
          LOGGER.debug("[rabbitmanager.delete_connections] start....")
          for name in names:
              url = C_HTTP_TEMPLATE.format(
                  self.endpoint, "{}/{}".format("connections", name)
              )
              result = requests.delete(
                  url, auth=(self.user, self.password)
              )
              LOGGER.debug(result)
  
imports: import logging
  import time
  import requests
label_desc: Use image node_id 20 for calling the RabbitManager obj's underlying member method code with example usage: obj.delete_connections(vhost) without return types