Tenants

List all tenants

Lists all of the tenants in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name.

get/tenants/all

Request

Query parameters

idsstring[]

A set of Tenant IDs to retrieve Tenants for.

isDisabledboolean

Disabled Status, to limit the set of retrieved Tenants to those with the specified disabled status.

namestring

(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.

partialNamestring

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

projectIdstring

A Project ID, to limit the set of retrieved Tenants to those connected to a particular Project.

tagsstring[]

Limits the results to Tenants with these canonical tag names. Example: ["Region/APAC", "Region/EMEA", "Tier/Gold"] finds Gold Tenants in APAC or EMEA. Tags can also be IDs (TagSets-1/Tags-1).

Response

Requested list of Tenants

ClonedFromTenantIdstring
CustomFieldsstring[]
Descriptionstring
Idstring

Gets or sets a unique identifier for this resource.

IsDisabledboolean
LastModifiedBystring

Gets or sets the username of the user who last modified this resource.

LastModifiedOnstring date-time

Gets or sets the date/time that this resource was last modified.

Linksobject

Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.

Namestring
ProjectEnvironmentsobject
Slugstring
SpaceIdstring
TenantTagsstring[]

Tags are referenced by CanonicalName like {TagSetName}/{TagName}

Example response

[
  {
    "Icon": {
      "Color": "#3CA4F3",
      "Id": "rocket"
    },
    "Links": {
      "Self": "/api/..."
    },
    "SpaceId": "Spaces-1"
  }
]

Changes

No recorded changes to this operation across all 15 revisions of this API.