List resellers (provider only)
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
/api/v1/tenants/{tid}/provisioning/resellersList resellers (provider only)
Permissions: plan.manage.
Authentication: API key (Authorization: Bearer …) or session cookie __Host-panel_session.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
limit | query | integer | optional |
|
cursor | query | string | optional |
Responses
200 Resellers
Content type: application/json
refstring requiredtenant_idstring requirednamestring requiredowner_emailstring requiredWhat a reseller may hand out to all its customers together; 0 is no limit. Counts are hard limits, disk and bandwidth advisory.
max_accountsinteger optionalmax_sitesinteger optionalmax_databasesinteger optionalmax_appsinteger optionalmax_mailboxesinteger optionaldisk_mbinteger (int64) optionalbandwidth_gbinteger (int64) optionalruntimesarray<string> optionalAllowed values:"php""aspnet""asp""node""dotnet""python""java""go""wordpress""container"server_idsarray<string> optionalThe provider's servers its customers may be placed on
statestring requiredAllowed values:"active""suspended""terminated"suspend_reasonstring requiredsitesinteger requireddatabasesinteger requiredappsinteger requiredcontainersinteger optionalSites run by a container (ADR 0162)
mailboxesinteger optionaldatabase_usersinteger optionaldisk_bytesinteger (int64) requiredtraffic_bytesinteger (int64) requiredSent this month
measured_atstring (date-time) | null required
accountsinteger requiredcreated_atstring (date-time) requiredupdated_atstring (date-time) requiredterminated_atstring (date-time) | null 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 optionalA permanent delete waits for kept data to go (ADR 0130)
How far an account's end got (ADR 0131). The end runs in the background: a failed step is tried again at next_try_at (1, 2, 4, 8 then every 15 minutes), or at once when the end is asked again.
statestring requiredAllowed values:"ending""ended""not_ending"tenant_idstring requiredrefstring optionalresellerboolean requiredstarted_atstring (date-time) optionalended_atstring (date-time) optionalnamestring requiredAllowed values:"customers""sites""databases""mail""caches""dns""backups"statestring requiredAllowed values:"waiting""running""done""failed"totalinteger requireddoneinteger requiredcodestring requiredmessagestring requiredretryableboolean required
attemptsinteger requiredPasses that stopped on an error
Fields of StepError are shown above.
next_try_atstring (date-time) optionalWith keep_backups_days 0: off-machine copies given up because their target did not answer; the end completes without them
backup_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
next_cursorstring requiredEmpty on the last page
Example
{
"items": [
{
"ref": "string",
"tenant_id": "string",
"name": "string",
"owner_email": "string",
"allocation": {
"max_accounts": 0,
"max_sites": 0,
"max_databases": 0,
"max_apps": 0,
"max_mailboxes": 0,
"disk_mb": 0,
"bandwidth_gb": 0,
"runtimes": [
"php"
],
"server_ids": [
"string"
]
},
"state": "active",
"suspend_reason": "string",
"usage": {
"sites": 0,
"databases": 0,
"apps": 0,
"containers": 0,
"mailboxes": 0,
"database_users": 0,
"disk_bytes": 0,
"traffic_bytes": 0,
"measured_at": "2026-01-01T00:00:00Z"
},
"accounts": 0,
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z",
"terminated_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,
"ending": {
"state": "ending",
"tenant_id": "string",
"ref": "string",
"reseller": true,
"started_at": "2026-01-01T00:00:00Z",
"ended_at": "2026-01-01T00:00:00Z",
"steps": [
{
"name": "customers",
"state": "waiting",
"total": 0,
"done": 0,
"error": {
"code": null,
"message": null,
"retryable": null
}
}
],
"attempts": 0,
"last_error": {
"code": "string",
"message": "string",
"retryable": true
},
"next_try_at": "2026-01-01T00:00:00Z",
"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"
}
]
}
}
],
"next_cursor": "string"
}429 Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required
default Error
Content type: application/json