Tenants
List all of the tenant variables in the supplied Octopus Deploy Space. The results will be sorted alphabetically by id.
get/spaces/{spaceIdentifier}/tenantvariables/all
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/spaces/{spaceIdentifier}/tenantvariables/all
- 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
Query parameters
projectIdstring
ID of a project that tenants must be connected to, to be included in the result set. For matching tenants, variables from all projects are still returned.
Response
All of the tenant variables in the supplied Octopus Deploy Space (sorted alphabetically by id).
Example response
[
{
"Links": {
"Self": "/api/..."
},
"SpaceId": "Spaces-1",
"TenantId": "Tenants-1"
}
]Changes
No recorded changes to this operation across all 13 revisions of this API.