Delete a view

The format of the <method> element for deleting a view is:

<method methodName="view.delete">

The <method> element contains one or more <view> elements each of which identifies a view to delete. In the view element, include only the viewName attribute.

For more information about the <view> element and its subelements, see <view>.

Example

This example deletes the view named viewsample2.

<methodCall>
	<method methodName="view.deleteView">
		<view viewName="viewsample2">
		</view> 
	</method>
</methodCall>