Description
Answers with the same body as GET /api/project/workspace-tenant-variables.
A required workspace tenant variable with no value blocks a tenant's deployments only in the projects that use it.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
projectId |
body | string | yes | ID of the project. |
templateIds |
body | array<string> | yes | IDs of workspace tenant variables. Ones the project already uses are left as they are. |
Errors
| Status | Meaning |
|---|---|
400 |
Invalid projectId, an unknown templateId, or the project already has a variable, an imported workspace variable or a tenant variable with the same name. Nothing is changed. |
401 |
Missing or invalid Basic auth credentials, or the service account can't edit this project. |