Provisioning (billing integration)
31 operations. Open one for its parameters, request body, responses and examples.
| Method | Path | Summary |
|---|---|---|
| GET | /api/v1/tenants/{tid}/provisioning/accounts | List accounts, a page at a time |
| GET | /api/v1/tenants/{tid}/provisioning/accounts/{ref} | An account by its reference (ADR 0051) |
| PUT | /api/v1/tenants/{tid}/provisioning/accounts/{ref} | Make the account for this reference, or update it; a retry makes nothing new |
| PATCH | /api/v1/tenants/{tid}/provisioning/accounts/{ref} | Change the name, owner email or expiry |
| DELETE | /api/v1/tenants/{tid}/provisioning/accounts/{ref} 202 | Terminate the account; its websites, databases, mail, caches and DNS zones are removed the usual way (ADR 0104), in the background (ADR 0131) |
| POST | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/login-link | A one-time sign-in link for the account owner (60 seconds, single use) |
| PUT | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/password | Replace the owner password; the owner sessions end |
| DELETE | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/permanent 202 | Delete a terminated account for good (ADR 0130) |
| PUT | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/plan | Move the account to a package or plan (its current revision) |
| POST | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/suspend | Suspend with a reason; its sites stop and nothing is removed |
| POST | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/unsuspend | Start the account again, whatever suspended it |
| GET | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/usage | What the account uses this month |
| GET | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/users | The account's people: its owner and the users added to it (ADR 0121) |
| POST | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/users | Add a user to the account with a role, or invite one (ADR 0121) |
| DELETE | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/users/{uid} | Take a user out of the account (ADR 0121) |
| PUT | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/users/{uid}/password | Replace an added user's password; their sessions end (ADR 0121) |
| GET | /api/v1/tenants/{tid}/provisioning/packages | List packages, archived included |
| GET | /api/v1/tenants/{tid}/provisioning/packages/{ref} | A package by its reference |
| PUT | /api/v1/tenants/{tid}/provisioning/packages/{ref} | Make the package, or change its name and limits; a retry changes nothing |
| DELETE | /api/v1/tenants/{tid}/provisioning/packages/{ref} | Archive the package; refused while accounts use it unless force=true; never removes accounts |
| DELETE | /api/v1/tenants/{tid}/provisioning/packages/{ref}/permanent | Delete an archived package and its plan for good, once no account has it (ADR 0130) |
| GET | /api/v1/tenants/{tid}/provisioning/resellers | List resellers (provider only) |
| GET | /api/v1/tenants/{tid}/provisioning/resellers/{ref} | A reseller with what its customers use together |
| PUT | /api/v1/tenants/{tid}/provisioning/resellers/{ref} | Make the reseller with its owner, or change its name and allocation |
| DELETE | /api/v1/tenants/{tid}/provisioning/resellers/{ref} 202 | Terminate the reseller; refused while it has accounts unless cascade=true. Runs in the background (ADR 0131) |
| POST | /api/v1/tenants/{tid}/provisioning/resellers/{ref}/login-link | A one-time sign-in link for the reseller owner |
| PUT | /api/v1/tenants/{tid}/provisioning/resellers/{ref}/password | Replace the reseller owner password |
| DELETE | /api/v1/tenants/{tid}/provisioning/resellers/{ref}/permanent 202 | Delete an ended reseller for good; with cascade=true its ended customers go first (ADR 0130) |
| POST | /api/v1/tenants/{tid}/provisioning/resellers/{ref}/suspend | Suspend the reseller and its running customers |
| POST | /api/v1/tenants/{tid}/provisioning/resellers/{ref}/unsuspend | Lift the reseller suspension and only the customer suspensions it caused |
| GET | /api/v1/tenants/{tid}/provisioning/servers | Servers the caller may place a customer on, with their load |