def delete_zone(zone, region=None, key=None, keyid=None, profile=None):
 if (region is None):
  region = 'universal'
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 _zone = conn.get_zone(zone)
 if _zone:
  conn.delete_hosted_zone(_zone.id)
  return True
 return False

def delete_zone ( zone , region = None , key = None , keyid = None , profile = None ) : if ( region is None ) : region = 'universal' conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) _zone = conn . get_zone ( zone ) if _zone : conn . delete_hosted_zone ( _zone . id ) return True return False
delete an existing zone cli example: .