FeatureFlag

Duplicate a feature flag configuration

Duplicate a feature flag configuration with given parameters.

post/feature-flags/{siteCode}/{featureKey}/duplicate

Request

Path parameters

siteCodestring required
featureKeystring required

Response

Created

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

Example response

{
  "environmentConfigurations": [
    {
      "rolloutRules": [
        {
          "release": {
            "timeZone": "Europe/Paris"
          },
          "rollbackConditions": [
            {
              "matchValue": 50,
              "visitors": 1000
            }
          ]
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.