Cumulocity Web SDK - v1024.1.6
    Preparing search index...

    Class FeatureService

    This class allows reading a feature toggles for current tenant.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Removes the feature toggle override for the provided tenant.

      Removal of the override will cause the tenant to use the feature toggle value based on the phase of the feature toggle.

      Example

       (async () => {
      const featureToggleKey = 'my-custom-feature';
      const {data, res} = await featureService.removeTenantOverrideByTenant({
      key: featureToggleKey,
      active: true,
      }, 't123456');

      Parameters

      Returns Promise<IResult<IFeatureToggle>>