Excluding an App From an Add-On Plan

The remove-package operation is used to exclude apps from add-on plans. Excluded apps are not available to plan subscribers.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet excluding an app from an add-on plan includes the remove-package operation node:

<packet>
<service-plan-addon>
   <remove-package>
   ...
   </remove-package>
</service-plan-addon>
</packet>

 

The remove-package node is presented by type ServicePlanAddonApplicationInput (domain_addon_template.xsd). Its graphical representation is as follows:

ServicePlanAddonApplicationInput-remove

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

 

Response Packet Structure

The remove-package node of the output XML packet is of complex type (domain_addon_template.xsd)which has the following presentation:

ServicePLanApplicationOutput-remove

 

Samples

This packet excludes an app WordPress from the add-on plan base_plan owned by user with login name JDoe.

<packet>
<service-plan-addon>
<remove-package>
   <filter>
      <name>base_plan</name>
   </filter>
   <owner-login>JDoe</owner-login>
   <package>
      <name>name</name>
      <value>WordPress</value>
   </package>
</remove-package>
</service-plan-addon>
</packet>

Response:

<packet>
<service-plan-addon>
<remove-package>
   <result>
      <status>ok</status>
      <filter-id>base_plan</filter-id>
      <id>1234</id>
   </result>
</remove-package>
</service-plan-addon>
</packet>