'Delete a record.
:param record: Record to delete.
:type  record: :class:`Record`
:rtype: ``bool``
For more info, please see:
https://docs.onapp.com/display/52API/Delete+DNS+Record'

def delete_record(self, record):

    zone_id = record.zone.id
    self.connection.request(('/dns_zones/%s/records/%s.json' % (zone_id, record.id)), method='DELETE')
    return True
