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.

Authorizations:
query Parameters
site
required
string

The WordPress site's URL without the protocol prefix.

Example: site=example.com/wordpress

Responses

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

Request samples

uapi --user=username WordPressBackup cleanup site='example.com/wordpress'

Response samples

Content type
application/json
{
  • "apiversion": 3,
  • "func": "cleanup",
  • "module": "WordPressBackup",
  • "result": {
    • "data": {
      • "ok": 1,
      • "site": "example.com"
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}