API referenceSections

Website folders on the server the panel has no record of (no site, deleted or not, and no retention row), with size and file count; provider only (R22, ADR 0105)

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

GET /api/v1/tenants/{tid}/servers/{id}/orphan-folders

Website folders on the server the panel has no record of (no site, deleted or not, and no retention row), with size and file count; provider only (R22, ADR 0105)

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

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
idpathstringrequired

Responses

200 Folders

Content type: application/json

object
  • items array<OrphanSiteFolder> required
    • id string required
    • path string required
    • bytes integer (int64) required
    • files integer (int64) required
    • modified string (date-time) required
    • in_iis boolean required

      IIS has a site or pool zp-<id>: in use, cannot be removed here

    • link boolean required

      A junction or symbolic link, not a folder: never removed here

    • partial boolean optional

      Measuring stopped early; bytes and files are at least this much

  • next_cursor string required
Example
{
  "items": [
    {
      "id": "string",
      "path": "string",
      "bytes": 0,
      "files": 0,
      "modified": "2026-01-01T00:00:00Z",
      "in_iis": true,
      "link": true,
      "partial": true
    }
  ],
  "next_cursor": "string"
}

default Error

Content type: application/json

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