Deletes a folder in the specified path.

Syntax

Visual Basic (declaration)
Public Function DeleteFolder( _ 
ByVal AuthenticationTicket as String, _ ByVal Path as String) as XmlNode

C# (declaration)
public XmlNode DeleteFolder( 
string AuthenticationTicket, string Path)

Parameters

AuthenticationTicket
    string infoRouter ticket
Path
    string An infoRouter folder path to be deleted

Return Value

returns xml fragment.
<response success="true" error="">
if success attribute is "true", the folder has been deleted successfully.
if success attribute is "false", the error attribute indicates the encountered error.

Remarks

The caller must have "Full Control" permission on the folder.
The top level folders (domains) cannot be deleted using this method.
The deleted folders are moved to the recyclebin.