Skip to main content
Version: 2.0.0


Creates a new tenant.


tenantObj - An object that contains the information about the tenant. The payload is defined below.


Key - A unique id by which Permit will identify the tenant. The tenant key must be url-friendly (slugified).
Name - A descriptive name for the tenant.
Description - optional - A longer description of the tenant.
Attributes - optional - Arbitraty tenant attributes that will be used to enforce attribute-based access control policies.

Key: "key",
Name: "name",
Description: "description",
Attributes: {}


var response = await permitClient.Api.CreateTenant(tenantObj);