def delete_record(self, identifier=None, type=None, name=None, content=None):
    delete_record_ids = []
    if (not identifier):
        records = self.list_records(type, name, content)
        delete_record_ids = [record['id'] for record in records]
    else:
        delete_record_ids.append(identifier)
    LOGGER.debug('delete_records: %s', delete_record_ids)
    for delete_record_id in delete_record_ids:
        self._delete('/{0}/records/{1}'.format(self.options['domain'], delete_record_id))
    LOGGER.debug('delete_record: %s', True)
    return True
def delete_record(self, identifier=None, type=None, name=None, content=None):
    delete_record_ids = []
    if (not identifier):
        records = self.list_records(type, name, content)
        delete_record_ids = [record['id'] for record in records]
    else:
        delete_record_ids.append(identifier)
    LOGGER.debug('delete_records: %s', delete_record_ids)
    for delete_record_id in delete_record_ids:
        self._delete('/{0}/records/{1}'.format(self.options['domain'], delete_record_id))
    LOGGER.debug('delete_record: %s', True)
    return True