API referenceSections

List accounts, a page at a time

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

GET /api/v1/tenants/{tid}/provisioning/accounts

List accounts, a page at a time

Permissions: plan.manage.

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

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
limitqueryintegeroptional
  • minimum 1
  • maximum 200
cursorquerystringoptional
statusquerystringoptional
Allowed values: "active" "suspended" "terminated"
packagequerystringoptional

Package ref

resellerquerystringoptional

A reseller ref: list that reseller's accounts (provider only)

qquerystringoptional

Matches ref, name or owner email

Responses

200 Accounts

Content type: application/json

object
  • items array<AccountRow> required
    • ref string required
    • tenant_id string required
    • name string required
    • owner_email string required
    • plan_id string required
    • package string required
    • server_id string required
    • state string required
      Allowed values: "active" "suspended" "terminated"
    • suspend_reason string required
    • suspend_cause string required

      provider: the provider suspended a reseller's customer; only the provider can resume it. overuse: past a suspend-policy limit (ADR 0070); lifted once back under

      Allowed values: "" "manual" "expired" "reseller" "provider" "overuse"
    • expires_at string (date-time) | null required
    • created_at string (date-time) required
    • terminated_at string (date-time) | null required
  • next_cursor string required

    Empty on the last page

Example
{
  "items": [
    {
      "ref": "string",
      "tenant_id": "string",
      "name": "string",
      "owner_email": "string",
      "plan_id": "string",
      "package": "string",
      "server_id": "string",
      "state": "active",
      "suspend_reason": "string",
      "suspend_cause": "",
      "expires_at": "2026-01-01T00:00:00Z",
      "created_at": "2026-01-01T00:00:00Z",
      "terminated_at": "2026-01-01T00:00:00Z"
    }
  ],
  "next_cursor": "string"
}

429 Error

Content type: application/json

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

default Error

Content type: application/json

Fields of Error are shown above.