Disabling a Webmail Service

The disable operation is used to make a webmail services unavailable for selection in hosting plan settings.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet making a webmail services unavailable for selection in hosting plan settings includes the disable operation node:

<packet version="1.6.3.1">
<webmail>
   <disable>
   ...
   </disable>
</webmail>
</packet>

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

disableInput

 

Response Packet Structure

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

registerOutput

 

Samples

This packet disables an external webmail service Horde:

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

Response:

<packet>
<webmail>
   <disable>
      <result>
         <status>ok</status>
         <webmail>
            <name>Horde</name>
            <status>false</status>
            <url>http://example.com</url>
         </webmail>
      </result>
   </disable>
</webmail>
</packet>