v1
latestOpenAPI 3.0.02026-07-13103151174.7 KB[Deprecated] Features v1
Update a Feature
Update a Feature by ID or key
patch/v1/projects/{project}/features/{feature}
Path parameters
featurestring required
A Feature key or ID
projectstring required
A Project key or ID
Request body
Example request
{
"key": "new-dash",
"name": "New Dashboard",
"description": "New Dashboard",
"configurations": {
"development": {
"status": "active",
"targets": []
},
"production": {
"status": "inactive",
"targets": []
}
},
"variations": [
{
"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"
}
}
}
],
"variables": [
{
"name": "Show New Dashboard",
"description": "A boolean variable that will toggle the new dashboard feature",
"key": "show-new-dashboard",
"_feature": "61450f3daec96f5cf4a49947",
"type": "Boolean",
"tags": [
"new",
"dashboard"
]
}
],
"type": "release",
"tags": [
"new",
"dashboard"
]
}