Home / Resources / API Reference

Project

Base route: /api/project

Create variable value

Assigns a specific value to a variable, optionally scoped to certain environments, machines, or tags.

Request

Parameters
variableId
string
required
The ID of the variable to assign a value to.
theValue
string
required
The actual value content.
environmentsFilter
array
optional
List of environment IDs where this value applies.
Request body

POST /api/project/variable/value {   "variableId": "string",   "theValue": "string",   "environmentsFilter": ["string"],   "machineFilter": ["string"],   "cloudTargetFilter": ["string"],   "tagFilter": [     {       "tagIds": ["string"]     }   ] }

Response

Parameters
variableValueId
string
The ID of the newly created value entry.
Response body

{   "variableValueId": "string" }