Tenants
Get the project variables associated with the tenant.
get/spaces/{spaceIdentifier}/tenants/{tenantId}/projectvariables
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/spaces/{spaceIdentifier}/tenants/{tenantId}/projectvariables
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
Path parameters
spaceIdentifierstring required
Identifier (ID or slug) of the space
tenantIdstring required
The ID of the tenant to read project variable values for. Example: Tenants-101.
Query parameters
includeMissingVariablesboolean
When true, the response also lists the project variable templates the tenant is required to supply a value for but has not, along with each template's default value.
Response
The project variables associated with a tenant.
Example response
{
"MissingVariables": [
{
"ProjectId": "Projects-1",
"Scope": {
"EnvironmentIds": [
"Environments-1",
"..."
]
}
}
],
"TenantId": "Tenants-1",
"Variables": [
{
"ProjectId": "Projects-1",
"Scope": {
"EnvironmentIds": [
"Environments-1",
"..."
]
}
}
]
}Changes
No recorded changes to this operation across all 13 revisions of this API.