capabilities.work

Add a variable to a feature flag

One step with Optimizely. We can help you get access.

Get something done

Add a variable to a feature flag

with Optimizely · Feature Flag Management

Use Optimizely: its Optimizely Feature Experimentation Variable Definitions API lets you add a variable to a feature flag in a single step (POST /projects/{project_id}/flags/{flag_key}/variable_definitions). capabilities.work can help you get signed up and connected.

  • How do I add a new variable to a feature flag?
  • What data types can a flag variable definition use, and does it need a default value?
Say it to your AI assistant
  • Add a {type} variable {key} with default {default_value} to flag {flag_key} in project {project_id}.
  • Create variable definition {key} of type {type} defaulting to {default_value}.
For your developer

POST /projects/{project_id}/flags/{flag_key}/variable_definitions in Optimizely Feature Experimentation Variable Definitions API. Full spec on APIs.io.