Removing a Webmail Service

The unregister operation is used to remove a webmail service.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet removing a webmail service includes the unregister operation node:

<packet>
<webmail>
   <unregister>
   ...
   </unregister>
</webmail>
</packet>

The unregister node is presented by type UnRegisterInputType (webmail.xsd). Its graphical representation is as follows:

unregisterInput

Important: When creating request packets, put nodes and elements in the order they follow in the packet structure.

 

Response Packet Structure

The unregister node of the output XML packet is structured as follows:

unregisterOutput

 

Samples

This packet removes an external webmail service Horde from Plesk:

<packet>
<webmail>
   <unregister>
      <filter>
         <name>Horde</name>
      </filter>
   </unregister>
</webmail>
</packet>

Response:

<packet>
<webmail>
   <unregister>
      <result>
         <status>ok</status>
         <webmail>
            <name>Horde</name>
         </webmail>
      </result>
   </unregister>
</webmail>
</packet>
</webmail>
</packet>