API Stability Short-Term

The enableFeatureForUser() GraphQL mutation may be used to enable a feature for a specific user in LogScale. To enable a feature for an organizaiton, use enableFeatureForOrg() .

For more information on enabling and disabling features, see the Enabling & Disabling Feature Flags reference page.

Syntax

Below is the syntax for the enableFeatureForUser() mutation field:

graphql
enableFeatureForUser(
      feature: FeatureFlag!
      userId: string!
   ): boolean!

Given Datatypes

For FeatureFlag, there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: FeatureFlag

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Mar 14, 2025