'Delete a TXT record using the supplied information.
:param str domain: The domain to use to look up the managed zone.
:param str record_name: The record name (typically beginning with \'_acme-challenge.\').
:param str record_content: The record content (typically the challenge validation).
:param int record_ttl: The record TTL (number of seconds that the record may be cached).
:raises certbot.errors.PluginError: if an error occurs communicating with the Google API'

def del_txt_record(self, domain, record_name, record_content, record_ttl):

    try:
        zone_id = self._find_managed_zone_id(domain)
    except errors.PluginError as e:
        logger.warn('Error    finding    zone.    Skipping    cleanup.')
        return
    data = {'kind': 'dns#change', 'deletions': [{'kind': 'dns#resourceRecordSet', 'type': 'TXT', 'name': (record_name + '.'), 'rrdatas': [record_content], 'ttl': record_ttl}]}
    changes = self.dns.changes()
    try:
        request = changes.create(project=self.project_id, managedZone=zone_id, body=data)
        request.execute()
    except googleapiclient_errors.Error as e:
        logger.warn('Encountered    error    deleting    TXT    record:    %s', e)
