'Delete this collector from the associated
LogicMonitor account'

def _unreigster(self):

    self.module.debug('Running    Collector._unreigster...')
    if (self.info is None):
        self.module.debug('Retrieving    collector    information')
        self.info = self._get()
    if (self.info is not None):
        self.module.debug('Collector    found')
        self.module.debug('System    changed')
        self.change = True
        if self.check_mode:
            self.exit(changed=True)
        self.module.debug("Making    RPC    call    to    'deleteAgent'")
        delete = json.loads(self.rpc('deleteAgent', {'id': self.id}))
        if (delete['status'] is 200):
            self.module.debug('RPC    call    succeeded')
            return delete
        else:
            self.module.debug(('Error    unregistering    collecting.    ' + delete['errmsg']))
            self.fail(msg=delete['errmsg'])
    else:
        self.module.debug('Collector    not    found')
        return None
