Create a FeatureAsk AIpost https://api.optimizely.com/v2/featuresCreate a FeatureBody ParamsA string in JSON format that includes all the fields to create a new Feature. Note this endpoint is incompatible with Full Stack Targeted Rollouts projects (default in accounts created after July 2020) and with non-legacy Full Stack projects (default in projects created after February 2021). See the compatible API at https://library.optimizely.com/docs/api/flags/v1/index.html#tag/Flags.archivedbooleanDefaults to falseWhether the Feature has been archivedtruefalsedescriptionstringA short description of this FeatureenvironmentsobjectThe configuration for this Feature's Rollout within each Environment, keyed by Environment keyenvironments objectkeystringrequiredlength ≤ 64Unique string identifier for this Feature within the ProjectnamestringName of the Featureproject_idint64requiredThe ID of the Project this Feature belongs tovariablesarray of objectsVariables define the dynamic configuration of a feature, and each variable can take on a different value on a per-variation basis within a feature test.variablesADD objectResponses 201Successfully created the Feature 400Invalid request body content 401Invalid credentials defaultUnexpected errorUpdated 7 months ago