API referenceSections

Customers

22 operations. Open one for its parameters, request body, responses and examples.

MethodPathSummary
GET/api/v1/tenants/{tid}/account-kitHow far this account's provisioning kit got (ADR 0059)
POST/api/v1/tenants/{tid}/account-kit/retryTry every waiting or failed step again now
POST/api/v1/tenants/{tid}/account-kit/secrets/{name}Show a password the kit made, once; it is removed afterwards
GET/api/v1/tenants/{tid}/account-kit/templatesThe welcome email templates of this seller, vi and en
PUT/api/v1/tenants/{tid}/account-kit/templates/{lang}Save a welcome template after trying it; empty subject and body restore the default
GET/api/v1/tenants/{tid}/customersCustomers with their subscription, limits and usage, oldest first; all of them, or a page when limit is given (ADR 0189)
POST/api/v1/tenants/{tid}/customersCreate a customer tenant on a plan and one of this tenant's servers
DELETE/api/v1/tenants/{tid}/customers/{cid} 202End a customer of this seller, made in the panel or by billing: suspended, websites, databases, mail, caches and DNS zones removed by jobs in the background, backups kept the days asked for (ADR 0104, 0131)
GET/api/v1/tenants/{tid}/customers/{cid}/endingHow far a customer's end got (ADR 0131)
POST/api/v1/tenants/{tid}/customers/{cid}/login-asLog in as the customer's owner, from its provider or reseller, with a reason, for 5 to 60 minutes (ADR 0086)
DELETE/api/v1/tenants/{tid}/customers/{cid}/permanent 202Delete an ended customer of this seller for good (ADR 0130)
GET/api/v1/tenants/{tid}/customers/{cid}/quotaA customer's standing against its limits, for its seller
POST/api/v1/tenants/{tid}/customers/{cid}/quota/applyApply the customer's disk quota on its server now (FSRM, or the panel when FSRM cannot be used) and judge it
PUT/api/v1/tenants/{tid}/customers/{cid}/subscriptionApply a subscription change (plan, revision, state, expiry, overrides)
POST/api/v1/tenants/{tid}/customers/{cid}/subscription/previewShow a subscription change and the limits the customer would be past, without applying it
POST/api/v1/tenants/{tid}/customers/{cid}/suspendSuspend a customer of this seller; its sites show the suspension page (ADR 0071, 0104)
POST/api/v1/tenants/{tid}/customers/{cid}/transferMove a customer to another reseller or to the provider, inside the new owner's allocation (ADR 0087)
POST/api/v1/tenants/{tid}/customers/{cid}/unsuspendResume a customer of this seller (ADR 0104)
GET/api/v1/tenants/{tid}/ended-customersThe seller's ended customers, with what each still has (ADR 0130)
GET/api/v1/tenants/{tid}/quotaThis account's standing against its disk and bandwidth limits (ADR 0070)
POST/api/v1/tenants/{tid}/quota/checkJudge every customer of this seller against its limits now (notices, suspension, resume)
GET/api/v1/tenants/{tid}/transfer-targetsThe provider and its active resellers, with their plans, a customer can be moved to (ADR 0087)