'Delete a zone.
Note: This will delete all the records belonging to this zone.
:param zone: Zone to delete.
:type  zone: :class:`Zone`
:rtype: ``bool``'

def delete_zone(self, zone):

    action = '/v1/dns/delete_domain'
    params = {'api_key': self.key}
    data = urlencode({'domain': zone.domain})
    zones = self.list_zones()
    if (not self.ex_zone_exists(zone.domain, zones)):
        raise ZoneDoesNotExistError(value='', driver=self, zone_id=zone.domain)
    response = self.connection.request(params=params, action=action, data=data, method='POST')
    return (response.status == 200)
