API referenceSections

ProvisionedAccount

ProvisionedAccount object
  • ref string required
  • tenant_id string required
  • status string required
    Allowed values: "active" "suspended" "terminated"
  • package string required

    Package ref, empty when the plan has none

  • owner_email string required
  • created_at string (date-time) required
  • terminated_at string (date-time) | null required
  • customer Customer optional
  • kit AccountKit | null optional
  • exceeded array<object> optional

    After a plan change sent with allow_exceeding: the limits the account is now past (nothing is removed; it cannot add more). Empty otherwise

    • limit string required
      Allowed values: "sites" "databases" "apps" "mailboxes"
    • used integer required
    • max integer required
  • ending Ending optional

    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}/suspendSuspend with a reason; its sites stop and nothing is removed
POST/api/v1/tenants/{tid}/provisioning/accounts/{ref}/unsuspendStart the account again, whatever suspended it
PUT/api/v1/tenants/{tid}/provisioning/accounts/{ref}/planMove the account to a package or plan (its current revision)