Removing an Additional Service

The remove operation is used to remove a custom option of service plans (additional service) from Panel database.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet removing additional services includes the remove operation node:

<packet version="1.6.3.1">
<plan-item>
   <remove>
   ...
   </remove>
</plan-item>
</packet>

 

The remove node does not have a separate data type, it is nested within the complex type (plan_item.xsd). The remove node has the following graphics representation:

removeInput

 

Response Packet Structure

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

removeOutput

 

Samples

This packet removes an additional service plan-item from Plesk.

<packet>
<plan-item>
   <remove>
      <filter>
         <name>plan-item</name>
      </filter>
   </remove>
</plan-item>
</packet>

Response:

<packet>
<plan-item>
   <remove>
      <result>
         <status>ok</status>
         <name>plan-item</name>
      </result>
   </remove>
</plan-item>
</packet>