// Tenants

List a project's tenants

List the tenants connected to a project, with their environments and missing values.

GET/api/project/tenants

Description

Lists the tenants connected to a project, sorted by name - the same connections GET /api/tenant/projects shows from the tenant's side. Archived tenants are included and marked with isArchived.

missingValues counts the required tenant variables that have no value and no default, once for every environment the tenant uses. Fill them in with PUT /api/tenant/variables.

tenantedDeployments is the project's own setting - Off, Allowed or Required. A project that is Off doesn't deploy to tenants yet, even when tenants are connected to it.

Deleted tenants and deleted environments are left out.

Parameters

NameInTypeRequiredDescription
projectId query string yes ID of the project.

Errors

StatusMeaning
400 Invalid projectId. A project that belongs to another organization is reported the same way as one that does not exist.
401 Missing or invalid Basic auth credentials, or the service account lacks permission to manage tenants in this workspace.