'Use this method to delete a record.
:param record: record to delete
:type record: `Record`
:rtype: Bool'

def delete_record(self, record):

    action = ('/dns/%s/removeRR' % record.zone.domain)
    payload = {'name': record.name, 'data': record.data, 'type': record.type}
    try:
        self.connection.request(action=action, data=payload, method='POST')
    except BaseHTTPError:
        e = sys.exc_info()[1]
        if (e.code == httplib.NOT_FOUND):
            raise RecordDoesNotExistError(value=e.message, driver=self, record_id=None)
        raise e
    return True
