OpenAPI JSON

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.

8 operations · Each operation has a stable reference URL.

GET

Check cleanup eligibility

Returns whether automatic malware cleanup can be started for one hacked

/sites/{site_id}/security/scanner/cleanup/eligibility
POST

Start malware cleanup

Starts automatic malware cleanup for the selected hacked site.

/sites/{site_id}/security/scanner/cleanup
GET

List cleanup runs

Lists malware cleanup runs for the selected site.

/sites/{site_id}/security/scanner/cleanup
GET

Show cleanup report

Shows the generated cleanup report for one cleanup run.

/sites/{site_id}/security/scanner/cleanup/{cleanup_id}/report
GET

List cleanup report files

Lists files for one cleanup report.

/sites/{site_id}/security/scanner/cleanup/{cleanup_id}/report/files
GET

List cleanup report database changes

Lists database changes for one cleanup report.

/sites/{site_id}/security/scanner/cleanup/{cleanup_id}/report/database
GET

Show 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
GET

Download cleanup report

Downloads the generated text report for one cleanup run.

/sites/{site_id}/security/scanner/cleanup/{cleanup_id}/report/download