POST
/
v1
/
tenants
/
create
rr, err: = client.Tenancy.Create(context.Background(), &v1.TenantCreateRequest {
    Id: ""
    Name: ""
})

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
id
string

id is a unique identifier for the tenant.

name
string

name is the name of the tenant.

Response

200 - application/json
tenant
object

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