API referenceSections

AccountInput

AccountInput object

Make or update an account. Give a package ref (ADR 0055) or a plan_id. On an existing account only package/plan_id and expires_at are applied.

  • no other properties
  • name string optional
  • plan_id string optional
  • package string optional

    Package ref; stands in for plan_id

  • server_id string optional
  • email string optional
  • password string optional
  • expires_at string (date-time) | null optional

    After this the account is suspended as expired (never removed)

  • domain string optional

    Primary domain for the package's provisioning kit (ADR 0059); only used when the account is made

  • language string optional

    The welcome email's language; vi when left out

    Allowed values: "vi" "en"
  • allow_exceeding boolean optional

    On an existing account moved to another package: go ahead although the account uses more than the new package allows (ADR 0121). Left out, such a downgrade is refused with 409 PROVISIONING_PLAN_EXCEEDED and nothing changes

Used by

PUT/api/v1/tenants/{tid}/provisioning/accounts/{ref}Make the account for this reference, or update it; a retry makes nothing new