The seller's ended customers, with what each still has
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
/api/v1/tenants/{tid}/ended-customersThe seller's ended customers, with what each still has (ADR 0130)
Permissions: plan.manage.
Authentication: API key (Authorization: Bearer …) or session cookie __Host-panel_session.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required |
Responses
200 Ended customers
Content type: application/json
tenant_idstring requirednamestring requiredrefstring requiredplan_namestring requiredended_atstring (date-time) requiredWhat an ended account still has, and so what stands between it and a permanent delete (ADR 0130)
liveinteger requiredWebsites, databases, mail domains, DNS zones, caches still there or being removed, and unfinished jobs
kept_sitesarray<object> requiredsite_idstring requiredhostnamestring requiredstatestring requiredAllowed values:"kept""purging"purge_afterstring (date-time) required
backupsinteger requiredbackups_untilstring (date-time) | null requiredWhen the backups go by themselves; null: kept with no end
customersinteger requiredchildreninteger requiredserversinteger required
deletingboolean requiredbackup_idstring requiredtargetstring requiredsftp, s3, or the cloud provider
wherestring optionalFolder or bucket the copy is in, as the backup settings named it (no secret)
created_atstring (date-time) requiredcodestring requiredWhy its deletion failed, e.g. BACKUP_DELETE_FAILED, SERVER_TIMEOUT
atstring (date-time) required
Example
{
"items": [
{
"tenant_id": "string",
"name": "string",
"ref": "string",
"plan_name": "string",
"ended_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
},
"deleting": true,
"remote_backups_left": [
{
"backup_id": "string",
"target": "string",
"where": "string",
"created_at": "2026-01-01T00:00:00Z",
"code": "string",
"at": "2026-01-01T00:00:00Z"
}
]
}
]
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required