Excluding an App from a Reseller Account

The remove-package operation is used to exclude certain apps from reseller accounts.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet excluding an app from a reseller account includes the remove-package operation node:

<packet>
<reseller>
   <remove-package>
   ...
   </remove-package>
</reseller>
</packet>

 

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

ResellerApplicationInput-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 response packet is structured as follows:

ResellerApplicationOutput-remove

 

Samples

A packet that excludes an app package WordPress from the reseller account with ID 1234 looks as follows:

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

Response:

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