Skip to main content
Version: 2.0.0

getTenant

Fetch the tenant and the tenant information.

Parameters

tenantId - The id of the tenant. This can also be the tenant key.

Implementation

const tenant = await permit.api.getTenant(tenantId);