Customers
22 operations. Open one for its parameters, request body, responses and examples.
| Method | Path | Summary |
|---|---|---|
| GET | /api/v1/tenants/{tid}/account-kit | How far this account's provisioning kit got (ADR 0059) |
| POST | /api/v1/tenants/{tid}/account-kit/retry | Try 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/templates | The 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}/customers | Customers 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}/customers | Create a customer tenant on a plan and one of this tenant's servers |
| DELETE | /api/v1/tenants/{tid}/customers/{cid} 202 | End 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}/ending | How far a customer's end got (ADR 0131) |
| POST | /api/v1/tenants/{tid}/customers/{cid}/login-as | Log 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 202 | Delete an ended customer of this seller for good (ADR 0130) |
| GET | /api/v1/tenants/{tid}/customers/{cid}/quota | A customer's standing against its limits, for its seller |
| POST | /api/v1/tenants/{tid}/customers/{cid}/quota/apply | Apply 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}/subscription | Apply a subscription change (plan, revision, state, expiry, overrides) |
| POST | /api/v1/tenants/{tid}/customers/{cid}/subscription/preview | Show a subscription change and the limits the customer would be past, without applying it |
| POST | /api/v1/tenants/{tid}/customers/{cid}/suspend | Suspend a customer of this seller; its sites show the suspension page (ADR 0071, 0104) |
| POST | /api/v1/tenants/{tid}/customers/{cid}/transfer | Move a customer to another reseller or to the provider, inside the new owner's allocation (ADR 0087) |
| POST | /api/v1/tenants/{tid}/customers/{cid}/unsuspend | Resume a customer of this seller (ADR 0104) |
| GET | /api/v1/tenants/{tid}/ended-customers | The seller's ended customers, with what each still has (ADR 0130) |
| GET | /api/v1/tenants/{tid}/quota | This account's standing against its disk and bandwidth limits (ADR 0070) |
| POST | /api/v1/tenants/{tid}/quota/check | Judge every customer of this seller against its limits now (notices, suspension, resume) |
| GET | /api/v1/tenants/{tid}/transfer-targets | The provider and its active resellers, with their plans, a customer can be moved to (ADR 0087) |