def delete_record(self, record):
        action = '/app/dns/dyndns.jsp?'
        params = {'action': 'DELETE', 'name': record.name, 'type': record.type}
        try:
            response = self.connection.request(action=action, params=params)
        except ZonomiException:
            e = sys.exc_info()[1]
            if e.message == 'Record not deleted.':
                raise RecordDoesNotExistError(record_id=record.id, driver=self,
                                              value=e.message)
            raise e

        return 'DELETED' in response.objects
Use this method to delete a record.
dataset/ETHPy150Open apache/libcloud/libcloud/dns/drivers/zonomi.py/ZonomiDNSDriver.delete_record