Delete restored WordPress site's temporary files

This function cleans up any temporary system resources after a WordPress® site backup restoration.

Note:

You must install the WordPress Manager cPanel plugin to access this API function.

SecurityBasicAuth
Request
query Parameters
site
required
string

The WordPress site's URL without the protocol prefix.

Examples:
site=example.com
site=example.com/wordpress
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/WordPressRestore/cleanup
Request samples
uapi --output=jsonpretty \
  --user=username \
  WordPressRestore \
  cleanup \
  site='example.com'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "cleanup",
  • "module": "WordPressRestore",
  • "result": {
    • "data": 1,
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}