Skip to main content

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);