API referenceSections

Customer

Customer object
  • tenant_id string required
  • name string required
  • subscription Subscription required
  • plan_name string required
  • limits Limits required
  • usage Usage required
  • kit KitSummary | null optional
  • 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}/customersCustomers 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}/customersCreate a customer tenant on a plan and one of this tenant's servers