Remove scan log after completed scan

This function cleans up the scan log file after you complete a scan with the WordPressInstanceManager::start_scan function. To read more information about the complete scan process, read our UAPI Functions - WordPressInstanceManager::start_scan documentation.

Note:

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

SecurityBasicAuth
Request
query Parameters
guid
required
string

The scan’s unique ID.

Example: guid=B3A27B96-51F7-11E8-92E3-CC90C4F823F0
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/WordPressInstanceManager/cleanup_scan
Request samples
uapi --output=jsonpretty \
  --user=username \
  WordPressInstanceManager \
  cleanup_scan \
  guid='B3A27B96-51F7-11E8-92E3-CC90C4F823F0'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "cleanup_scan",
  • "module": "WordPressInstanceManager",
  • "result": {
    • "data": null,
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}