updateTenant method

Future<Tenant> updateTenant(
  1. String tenantId,
  2. UpdateTenantRequest tenantOptions
)

Updates an existing tenant configuration.

tenantId - The tenantId corresponding to the tenant to update. tenantOptions - The properties to update on the provided tenant.

Returns a Future fulfilled with the updated tenant data.

Implementation

Future<Tenant> updateTenant(
  String tenantId,
  UpdateTenantRequest tenantOptions,
) async {
  final response = await _authRequestHandler.updateTenant(
    tenantId,
    tenantOptions,
  );
  return Tenant._fromResponse(response);
}