// Tenant Variables

List a project's tenant variables

List the variables a project asks each tenant to fill in.

GET/api/project/tenant-variable-templates

Description

A tenant variable is a value each tenant fills in for a project - for example a customer's database name or licence key. Each tenant sets its values with PUT /api/tenant/variables.

A tenant variable's name can't be the same as a project variable or a workspace variable used in the project.

Secret defaults are never returned: defaultValue is always null for them, and hasDefault says whether one is set.

Parameters

NameInTypeRequiredDescription
projectId query string yes ID of the project.

Errors

StatusMeaning
400 Invalid projectId.
401 Missing or invalid Basic auth credentials, or the service account can't edit this project.