Tenancy Based APIs
Almost all Permify API endpoints have atenant_id
mandatory field. Let’s examine a check request below,
Check API
Tenancy Service
To manage tenants we have added a Tenancy service; you can create, delete and list tenants. See the Tenancy Service in Using The API section.Permission Database
Tenant Table
A tenants table has been added to the Permissions database to store tenants’ details.Tenant ID Column
Authorization DATA and schema definition tables now have a tenant_id column, which stores the id of the tenant that the data belongs. Let’s take a look at a snapshot of the demo table on an example Permission Database. Example Relation Tuples data table:
