code: public static base_response delete(nitro_service client, String viewname) throws Exception {
  		dnsview deleteresource = new dnsview();
  		deleteresource.viewname = viewname;
  		return deleteresource.delete_resource(client);
  	}
docs: Use this API to delete dnsview of given name.