// Project Variables

Replace imported workspace variables

Set the full list of workspace variables imported into a project.

PUT/api/project/workspace-variables

Description

Replaces the project's workspace variable imports. Variables not in workspaceVariableIds are unimported.

Parameters

NameInTypeRequiredDescription
projectId body string yes ID of the project.
workspaceVariableIds body array<string> no Workspace variable IDs to import.

Errors

StatusMeaning
400 Invalid projectId or one of the workspace variable IDs not visible to the project.
401 Missing or invalid Basic auth credentials, or the service account lacks the required role.