WordPress: Themes
Uninstall WordPress themes
Uninstall one or more themes from a WordPress installation.
Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the id field).
This operation is asynchronous: a successful response only means the uninstall job has been queued.
post/api/hosting/v1/accounts/{username}/wordpress/{software}/themes/uninstall
Path parameters
usernamestring required
Example:u123456789
softwarestring required
Example:1232456789
WordPress installation (software) identifier
Request body
Example request
{
"themes": [
"twentytwenty",
"twentytwentyone"
]
}Response
Success empty response
Example response
{
"message": "Request accepted"
}