API referenceSections

Quarantine, restore or delete (from quarantine only) a finding's file; never automatic

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

POST /api/v1/tenants/{tid}/malware/findings/{fid}

Quarantine, restore or delete (from quarantine only) a finding's file; never automatic

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
fidpathstringrequired
X-CSRF-Tokenheaderstringoptional

Required on unsafe requests authenticated by session cookie; API keys do not use it.

Request body

required

Content type: application/json

object
  • no other properties
  • action string required
    Allowed values: "quarantine" "restore" "delete"
Example
{
  "action": "quarantine"
}

Responses

200 Done

Content type: application/json

  • id string required
  • scan_id string required
  • tenant_id string optional
  • site_id string required
  • path string required
  • engine string required
    Allowed values: "signature" "defender"
  • rule string required
  • title string required
  • severity string required
  • snippet string required

    One cleaned line; long encoded runs are cut

  • sha256 string required
  • size integer (int64) required
  • state string required
    Allowed values: "detected" "quarantined" "restored" "deleted" "gone" "removed_by_defender"
  • found_at string (date-time) required
  • updated_at string (date-time) required
Example
{
  "id": "string",
  "scan_id": "string",
  "tenant_id": "string",
  "site_id": "string",
  "path": "string",
  "engine": "signature",
  "rule": "string",
  "title": "string",
  "severity": "string",
  "snippet": "string",
  "sha256": "string",
  "size": 0,
  "state": "detected",
  "found_at": "2026-01-01T00:00:00Z",
  "updated_at": "2026-01-01T00:00:00Z"
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required