v1

latestSwagger 2.02026-08-061,9128853.7 MB
DeploymentTargets

Lists all of the registered machines in the supplied Octopus Deploy Space, from all environments. The results will be sorted alphabetically by name.

get/spaces/{spaceIdentifier}/machines

Path parameters

spaceIdentifierstring required

Identifier (ID or slug) of the space

Query parameters

commStylesstring[]

List of communication styles which if specified, filters the result to only include Deployment Targets with matching communication styles.

deploymentTargetTypesstring[]

List of deployment target types which if specified, filters the result to only include Deployment Targets with matching types.

environmentIdsstring[]

List of Environment IDs which if specified, filters the result to only include Deployment Targets with matching Environment IDs.

healthStatusesstring[]

List of health statuses which if specified, filters the result to only include Deployment Targets with matching health statuses.

idsstring[]

List of Deployment Target IDs which if specified, filters the result to only include Deployment Targets with matching IDs.

isDisabledboolean

A filter to return only disabled/enabled Deployment Targets

namestring

The exact name of a deployment target to be matched

operatingSystemNamesstring[]

List of operating system names which if specified, filters the result to only include Deployment Targets with matching operating systems.

partialNamestring

A partial or complete name to search on. This will perform a "contains" style match against the supplied name or name-fragment

rolesstring[]

List of roles which if specified, filters the result to only include Deployment Targets with matching roles.

shellNamesstring[]

List of shell names which if specified, filters the result to only include Deployment Targets with matching shells.

skipinteger

Number of items to skip. Defaults to zero

takeinteger

Number of items to take. Defaults to 30

targetTagsstring[]

List of Target Tags which if specified, filters the result to only include Deployment Targets with matching Target Tags.

tenantIdsstring[]

List of Tenant IDs which if specified, filters the result to only include Deployment Targets with matching Tenant IDs.

tenantTagsstring[]

List of Tenant Tags which if specified, filters the result to only include Deployment Targets with matching Tenant Tags.

Response

The list of alphabetically sorted deployment targets that matched the request.

Idstring
ItemsPerPageinteger
ItemTypestring
LastModifiedBystring
LastModifiedOnstring date-time
LastPageNumberinteger
Linksobject
NumberOfPagesinteger
TotalResultsinteger