// Project Variables

Import one workspace variable

Import a single workspace variable into a project.

POST/api/project/workspace-variable

Description

Imports a single workspace variable. Returns the project-side variable ID, even if the variable was already imported.

Parameters

NameInTypeRequiredDescription
projectId body string yes ID of the project.
workspaceVariableId body string yes ID of the workspace variable.

Errors

StatusMeaning
400 Invalid projectId or workspaceVariableId.
401 Missing or invalid Basic auth credentials, or the service account lacks the required role.