v1
latestOpenAPI 3.0.02026-07-13103151174.7 KBVariables
Create a Variable
post/v1/projects/{project}/variables
Path parameters
projectstring required
A Project key or ID
Request body
Example request
{
"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"
]
}Response
Example response
{
"name": "Show New Dashboard",
"description": "A boolean variable that will toggle the new dashboard feature",
"key": "show-new-dashboard",
"_id": "61450f3daec96f5cf4a49946",
"_feature": "61450f3daec96f5cf4a49947",
"type": "Boolean",
"status": "active",
"source": "api",
"tags": [
"Dashboard",
"QA"
]
}