API referenceSections

Plain tenants directly below this one, made with POST /tenants rather than as a customer or reseller, with what each still holds

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

GET /api/v1/tenants/{tid}/child-tenants

Plain tenants directly below this one, made with POST /tenants rather than as a customer or reseller, with what each still holds

Permissions: tenant.create.

Authentication: API key (Authorization: Bearer …) or session cookie __Host-panel_session.

Parameters

NameInTypeRequiredDescription
tidpathstringrequired

Responses

200 Child tenants

Content type: application/json

object
  • items array<ChildTenant> required
    • tenant_id string required
    • name string required
    • created_at string (date-time) required
    • remains Remains required

      What an ended account still has, and so what stands between it and a permanent delete (ADR 0130)

      • live integer required

        Websites, databases, mail domains, DNS zones, caches still there or being removed, and unfinished jobs

      • kept_sites array<object> required
        • site_id string required
        • hostname string required
        • state string required
          Allowed values: "kept" "purging"
        • purge_after string (date-time) required
      • backups integer required
      • backups_until string (date-time) | null required

        When the backups go by themselves; null: kept with no end

      • customers integer required
      • children integer required
      • servers integer required
Example
{
  "items": [
    {
      "tenant_id": "string",
      "name": "string",
      "created_at": "2026-01-01T00:00:00Z",
      "remains": {
        "live": 0,
        "kept_sites": [
          {
            "site_id": "string",
            "hostname": "string",
            "state": "kept",
            "purge_after": "2026-01-01T00:00:00Z"
          }
        ],
        "backups": 0,
        "backups_until": "2026-01-01T00:00:00Z",
        "customers": 0,
        "children": 0,
        "servers": 0
      }
    }
  ]
}

default Error

Content type: application/json

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