Removing Application From reseller Plan
The remove-package operation is used to remove applications from reseller plans.
Request Packet Structure
A request XML packet removing a new application to a reseller plan includes the remove-package operation node:
<packet version="126.96.36.199"> <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:
- The filter node is required. It specifies the filtering rule. Data type: ResellerSelectionFilter. For more information on filters, refer to the Available Filters section.
- The package node is required. It specifies what type of information about the removed package is requested. Data type: ApplicationInput (
- The name node is required. It specifies the name of the application that will be removed from the reseller plan. Data type: string.
- The value node is required. It specifies the value of the application that will be removed from the reseller plan. Data type: string.
Response Packet Structure
The remove-package node of the response packet is structured as follows:
- The result node is required. It wraps the response got from the server. Data type: resultFilterType (
- The status node is required. Specifies the execution status of the operation. Data type: string. Allowed values: ok | error.
- The errcode node is optional. Returns the error code when the operation fails. Data type: unsignedInt.
- The errtext node is optional. Returns the error message if the operation fails. Data type: string.
- The filter-id node is optional. Returns the parameter by which the reseller plan was filtered by in the request packet. Data type: anySimple.
- The id node is optional. Returns the identifier of the reseller plan from which the application was removed. Data type: id_type (
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>
<packet> <reseller-plan> <remove-package> <result> <status>ok</status> <filter-id>1234</filter-id> <id>1234</id> </result> </remove-package> </reseller-plan> </packet>
Leave your comments on this page
Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.