Self Help Documentation
< All Topics

software/uninstallwp

Description

Uninstalls one or more WordPress installations from a given SPanel user account.

Info
Use software/listwpinstalls to get the installation IDs. The uninstall function expects an array of hash values returned by the list function.

Parameters

FieldTypeRequiredDescription
tokenstringYesAuthorizing API token – check API Basics for more information.
accountuserstringYesThe SPanel user account that is being managed or viewed.
actionstringYesThe category and function being executed.
idstring|arrayYesString of a single WordPress installation id or an array if you want to uninstall more than one. Installation ids (hashes) are returned by software/listwpinstalls.

Example

You can find more information about the Endpoint URL in our API Basics article.

Output

Table of Contents