Skip to main content
Version: 2.0.0

UpdateTenant

Updates the tenant.

Parameters

tenantId - The id of the tenant. This can also be the tenant key.
tenant - An object that contains the information about the tenant. The payload is defined below.

Payload

Name - optional - 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.

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

Implementation

var response = await permitClient.Api.UpdateTenant(tenantId, tenant);