POST
/
v1
/
tenants
/
create

Permify Multi Tenancy support you can create custom schemas for tenants and manage them in a single place. You can create a tenant with following API.

We have a pre-inserted tenant - t1 - by default for the ones that don’t use multi-tenancy.

Body

application/json

TenantCreateRequest is the message used for the request to create a tenant.

id
string

id is a unique identifier for the tenant.

name
string

name is the name of the tenant.

Response

200 - application/json

TenantCreateResponse is the message returned from the request to create a tenant.

tenant
object

Tenant represents a tenant with an id, a name, and a timestamp indicating when it was created.