v1
latestOpenAPI 3.0.02026-07-13103151174.7 KBVariations
Create a Feature Variation
Create a new variation within a Feature
post/v1/projects/{project}/features/{feature}/variations
Path parameters
projectstring required
A Project key or ID
featurestring required
A Feature key or ID
Request body
Example request
{
"key": "variation-1",
"name": "User's with dashboard access",
"variables": {
"show-new-dashboard": true,
"string-var": "hello world",
"bool-var": true,
"num-var": 99,
"json-var": {
"foo": "bar"
}
}
}