Intry

Tenants & organizations

Admin CRUD for tenants — the B2B org boundary in Intry.

Overview

In Prisma and the admin API, a Tenant is the top-level property-management organization. Product docs may call this an "organization" or "company"; the REST path uses /api/admin/tenants.

Endpoints

MethodPathDescription
GET/api/admin/tenantsList tenants
POST/api/admin/tenantsCreate tenant
POST/api/admin/tenants/onboardFull org onboarding flow
GET/api/admin/tenants/:idFetch one
GET/api/admin/tenants/:id/healthTenant health summary
GET/api/admin/tenants/:id/organizationOrg profile + billing fields
PATCH/api/admin/tenants/:id/organizationUpdate org (billing: platform admin only)
GET/api/admin/tenants/:id/unit-inventoryUnit + VN inventory
PUT/api/admin/tenants/:idUpdate
DELETE/api/admin/tenants/:idDelete

Important fields

FieldNotes
nameDisplay name
planTierTRIAL, CORE, STANDARD, PRO
entitlementsJSON module flags; null = all enabled
stripeCustomerIdStripe Customer id
billingPlan / billingStatusContract metadata

Relations

A tenant owns properties, users, devices, and aggregated analytics rows. Deleting a tenant is destructive — confirm cascade rules in Prisma before automating.

See Billing architecture.


Last verified: 2026-06-21 (commit 293c4a7)

On this page