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-foldersWebsite 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
id | path | string | required |
Responses
200 Folders
Content type: application/json
object
idstring requiredpathstring requiredbytesinteger (int64) requiredfilesinteger (int64) requiredmodifiedstring (date-time) requiredin_iisboolean requiredIIS has a site or pool zp-<id>: in use, cannot be removed here
linkboolean requiredA junction or symbolic link, not a folder: never removed here
partialboolean optionalMeasuring stopped early; bytes and files are at least this much
next_cursorstring 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
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required