// Workspace Variables

Add a workspace variable value

Add a scoped value to a workspace variable.

POST/api/workspace-variable/value

Description

Adds a new value with optional environment / machine / cloud target / tag filters - same shape as project variable values.

Parameters

NameInTypeRequiredDescription
variableId body string yes ID of the workspace variable.
theValue body string no Value content.
environmentsFilter body array<string> no Restrict to these environments.
machineFilter body array<string> no Restrict to these machines.
cloudTargetFilter body array<string> no Restrict to these cloud targets.
tagFilter body array<object> no Tag-set filter.

Errors

StatusMeaning
400 Invalid variableId or filter validation failure.
401 Missing or invalid Basic auth credentials, or the service account lacks the required role.