Base route: /api/workspace-variable
This API endpoint creates a new variable within the workspace. Variables can be used to store configuration data that can be scoped to different environments or targets.
POST /api/workspace-variable
{
"workspaceId": "string",
"name": "string",
"description": "string",
"variableType": "string"
}
{
"variableId": "string"
}