API resource
Cleanup
Cleanup is automatic malware cleanup for hacked WordPress sites. Use Cleanup to confirm whether a hacked site can be cleaned automatically and manage the connection details and post-cleanup preferences needed for cleanup.
Check cleanup eligibility
Returns whether automatic malware cleanup can be started for one hacked
/sites/{site_id}/security/scanner/cleanup/eligibility POSTStart malware cleanup
Starts automatic malware cleanup for the selected hacked site.
/sites/{site_id}/security/scanner/cleanup GETList cleanup runs
Lists malware cleanup runs for the selected site.
/sites/{site_id}/security/scanner/cleanup GETShow cleanup report
Shows the generated cleanup report for one cleanup run.
/sites/{site_id}/security/scanner/cleanup/{cleanup_id}/report GETList cleanup report files
Lists files for one cleanup report.
/sites/{site_id}/security/scanner/cleanup/{cleanup_id}/report/files GETList cleanup report database changes
Lists database changes for one cleanup report.
/sites/{site_id}/security/scanner/cleanup/{cleanup_id}/report/database GETShow file cleanup diff
Shows original and cleaned content fragments for one cleanup report file.
/sites/{site_id}/security/scanner/cleanup/{cleanup_id}/report/files/{file_id}/diff GETDownload cleanup report
Downloads the generated text report for one cleanup run.
/sites/{site_id}/security/scanner/cleanup/{cleanup_id}/report/download