Excluding an App From a Service Plan

The remove-package operation is used to exclude apps from service 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 a service plan includes the remove-package operation node:

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

 

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

ServicePLanApplicationInput-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_template.xsd)which has the following presentation:

ServicePLanApplicationOutput-remove

 

Samples

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

<packet>
<service-plan>
<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>
</packet>