// Tenants

List a tenant's projects

List the projects a tenant is connected to, with the environments it can use for each.

GET/api/tenant/projects

Description

Lists the projects a tenant is connected to, sorted by name. For each project you get the environments the tenant can be deployed to.

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; change it with PUT /api/project.

Deleted projects and deleted environments are left out.

Parameters

NameInTypeRequiredDescription
tenantId query string yes ID of the tenant.

Errors

StatusMeaning
400 Invalid tenantId.
401 Missing or invalid Basic auth credentials, or the service account lacks permission to manage tenants in this workspace.