Deletes the given version of the document in the specified path.


Visual Basic (declaration)
Public Function DeleteDocumentVersion( _ 
ByVal AuthenticationTicket as String, _ ByVal DocumentPath as String, _ ByVal VersionNumber as Integer) as XmlNode

C# (declaration)
public XmlNode DeleteDocumentVersion( 
string AuthenticationTicket, string DocumentPath, Integer VersionNumber)


    string infoRouter ticket
    string an infoRouter document path that the version to be deleted
    Integer Version Number to be deleted

Return Value

<response success="true" error="">
if success attribute is "true", the document version has been deleted successfully.
if success attribute is "false", the error attribute indicates the encountered error.


The caller must have at least "Change" right on the document.
This method does NOT recycle the version. The deleted version cannot be restored from recyclebin.
Deleting last version means rollbacking to previous version.