code: def delete(self, name, kind=None):
          
          if kind is None:
              self.service.delete(self[name].path)
          else:
              self.service.delete(self[name, kind].path)
          return self
docs: Removes an input from the collection.
  
          :param `kind`: The kind of input:
  
              - "ad": Active Directory
  
              - "monitor": Files and directories
  
              - "registry": Windows Registry
  
              - "script": Scripts
  
              - "splunktcp": TCP, processed
  
              - "tcp": TCP, unprocessed
  
              - "udp": UDP
  
              - "win-event-log-collections": Windows event log
  
              - "win-perfmon": Performance monitoring
  
              - "win-wmi-collections": WMI
  
          :type kind: ``string``
          :param name: The name of the input to remove.
          :type name: ``string``
  
          :return: The :class:`Inputs` collection.