Uninstalling Plesk Extensions
To uninstall a Plesk extension, use the uninstall operation.
Request Packet Structure
A request XML packet for uninstalling extensions contains the uninstall operation node:
<packet> <extension> <uninstall> <id> </uninstall> </extension> </packet>
- The id node is required. It specifies the ID of the extension to be installed.
Response Packet Structure
The uninstall node of the output XML packet is of complex type which has the following presentation:
It wraps the result of the uninstall operation. Data type: resultType.
It returns the execution status of the operation. Data type: string. Allowed values: ok | error.
errcode, required if the operation fails.
Returns error code. Data type: unsignedInt.
errtext, required if the operation fails.
Returns error message. Data type: string.
The following request packet uninstalls an extension with the given ID:
<packet> <extension> <uninstall> <id>wp-toolkit</id> </uninstall> </extension> </packet>
<?xml version="1.0" encoding="UTF-8"?> <packet version="22.214.171.124"> <extension> <uninstall> <result> <status>ok</status> </result> </uninstall> </extension> </packet>
Leave your feedback on this topic here
If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.