Removing Application From reseller Plan

The remove-package operation is used to remove applications from reseller plans.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet removing a new application to a reseller plan includes the remove-package operation node:

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

 

The remove-package node is presented by the ResellerApplicationInput type (reseller_template.xsd). Its graphical representation is as follows:

ResellerPlanApplicationInput-remove

 

Response Packet Structure

The remove-package node of the response packet is structured as follows:

ResellerPlanApplicationOutput-remove

 

Samples

A packet that removes an application package WordPress from the reseller plan with ID 1234 looks as follows:

<packet>
<reseller-plan>
<remove-package>
   <filter>
      <id>1234</id>
   </filter>
   <package>
	   <name>name</name>
	   <value>WordPress</value>
	</package>
</remove-package>
</reseller-plan>
</packet>

Response:

<packet>
<reseller-plan>
<remove-package>
   <result>
      <status>ok</status>
      <filter-id>1234</filter-id>
      <id>1234</id>
   </result>
</remove-package>
</reseller-plan>
</packet>