ProvisionedAccount
ProvisionedAccount objectrefstring requiredtenant_idstring requiredstatusstring requiredAllowed values:"active""suspended""terminated"packagestring requiredPackage ref, empty when the plan has none
owner_emailstring requiredcreated_atstring (date-time) requiredterminated_atstring (date-time) | null requiredexceededarray<object> optionalAfter a plan change sent with allow_exceeding: the limits the account is now past (nothing is removed; it cannot add more). Empty otherwise
limitstring requiredAllowed values:"sites""databases""apps""mailboxes"usedinteger requiredmaxinteger required
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.
Used by
| 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 |
| 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 |
| PUT | /api/v1/tenants/{tid}/provisioning/accounts/{ref}/plan | Move the account to a package or plan (its current revision) |