List all tenants
Lists all of the tenants in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name.
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/spaces/{spaceIdentifier}/tenants/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
Identifier (ID or slug) of the space
Query parameters
A set of Tenant IDs to retrieve Tenants for.
Disabled Status, to limit the set of retrieved Tenants to those with the specified disabled status.
(Obsolete) A partial or complete name to limit the set of retrieved Tenants to. This will perform a "contains" style match against the supplied name or name-fragment. Left for backwards compatibility.
A partial or complete name to limit the set of retrieved Tenants to. This will perform a "contains" style match against the supplied name or name-fragment
A Project ID, to limit the set of retrieved Tenants to those connected to a particular Project.
A set of Tenant Tags, to limit the set of retrieved Tenants to those which are tagged with the specific tags. Example: Alpha,Beta,Stable
Response
Requested list of Tenants
Example response
[
{
"Icon": {
"Color": "#3CA4F3",
"Id": "rocket"
},
"Links": {
"Self": "/api/..."
},
"SpaceId": "Spaces-1"
}
]Changes
No recorded changes to this operation across all 13 revisions of this API.