Scan the site with Defender and the panel's web shell rules
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
POST
/api/v1/tenants/{tid}/sites/{id}/malware/scans may answer 202Scan the site with Defender and the panel's web shell rules (ADR 0084)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
id | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Responses
202 Started
Content type: application/json
idstring requiredtenant_idstring optionalserver_idstring optionalsite_idstring requiredtriggerstring requiredAllowed values:"manual""schedule"statestring requiredAllowed values:"running""succeeded""failed"defenderstring requiredclean, threats, unavailable, error or skipped
rulesetstring requiredfiles_scannedinteger requiredfindingsinteger requiredtruncatedboolean requirederror_codestring requiredstarted_atstring (date-time) requiredfinished_atstring (date-time) | null required
Example
{
"id": "string",
"tenant_id": "string",
"server_id": "string",
"site_id": "string",
"trigger": "manual",
"state": "running",
"defender": "string",
"ruleset": "string",
"files_scanned": 0,
"findings": 0,
"truncated": true,
"error_code": "string",
"started_at": "2026-01-01T00:00:00Z",
"finished_at": "2026-01-01T00:00:00Z"
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required