v1

latestOpenAPI 3.0.32026-07-22177397578.0 KB
FeatureFlag

Update a feature flag configuration

Update the feature flag (using JSON Merge for patch) for the given site code and feature key.

patch/feature-flags/{siteCode}/{featureKey}

Path parameters

siteCodestring required
featureKeystring required

Request body

attributionWindowinteger

Attribution window in milliseconds

descriptionstring

Description of the feature flag

featureKeystring required

Key used to identify the feature flag

isArchivedboolean

Flag indicating if the feature flag is archived

namestring

Name of the feature flag

primaryGoalIdinteger

Primary goal associated with the feature flag

secondaryGoalIdsinteger[]

Secondary goals associated with the feature flag

tagsstring[]

List of tags associated with the feature flag

Response

OK

archivedboolean
attributionWindowinteger

Attribution window

createdByIdinteger

Created by id

dateContentModifiedstring date-time

Date and time when the feature flag configuration content was last modified

dateCreatedstring date-time

Date and time when the feature flag configuration was created

dateModifiedstring date-time

Date and time when the feature flag configuration was last modified

descriptionstring

Description of the feature

featureKeystring required

Key used to identify the feature flag

health'PERMANENT' | 'HEALTHY' | 'STALE' | 'SMELLY'

Health of the feature flag (for temporary ones)

idinteger required

System-generated unique string of integers to identify a feature flag

isArchivedboolean
namestring required

Name of the feature flag

primaryGoalIdinteger

Primary goal of the feature flag

secondaryGoalIdsinteger[]

Secondary goals associated with the feature flag

siteCodestring required

Unique Id for the project in the Kameleoon app. This is an optional field to be included as query parameters

tagsstring[]

List of tags associated with the feature flag. This is an optional field to be included as query parameters

teamIdinteger

Team id