Description
A workspace tenant variable is a value each tenant fills in once and every project that uses the variable gets - for example a port or a secret shared by a customer's site and its API.
A project gets one only after it starts using it (POST /api/project/workspace-tenant-variables). usedBy lists those projects. Each tenant sets its values with PUT /api/tenant/variables without a projectId.
Secret defaults are never returned: defaultValue is always null for them, and hasDefault says whether one is set.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
workspaceId |
query | string | yes | ID of the workspace. |
Errors
| Status | Meaning |
|---|---|
400 |
Invalid workspaceId. |
401 |
Missing or invalid Basic auth credentials, or the service account can't manage workspace variables in this workspace. |