Response Samples

The following response packet returns after the virtual directory has been removed successfully:

<packet version="1.4.2.0">
<virtdir>
<remove>
    <result>
       <status>ok</status>
    </result>
</remove>
</virtdir>
</packet>

 

If the request packet deletes multiple virtual directories, the result of each remove operation will be returned in a different remove section:

<packet version="1.4.2.0">
<virtdir>
<remove>
    <result>
       <status>ok</status>
    </result>
</remove>
<remove>
    <result>
       <status>ok</status>
    </result>
</remove>
</virtdir>
</packet>

The remove sections will follow one another in the order they have been sent within the request packet.

 

If the remove operation fails, the following response packet can be returned by Plesk server:

<packet version="1.4.2.0">
<virtdir>
<remove>
    <result>
       <status>error</status>
       <errcode>1023</errcode>
       <errtext>Operation failed.</errtext>
    </result>
</remove>
</virtdir>
</packet>