Delete WordPress backup temporary files

This function releases any system resources from a previous WordPress® site backup.

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.

Example: 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/WordPressBackup/cleanup
Request samples
uapi --output=jsonpretty \
  --user=username \
  WordPressBackup \
  cleanup \
  site='example.com/wordpress'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "cleanup",
  • "module": "WordPressBackup",
  • "result": {
    • "data": {
      • "ok": 1,
      • "site": "example.com"
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}