latestSwagger 2.02026-08-191,9198883.9 MB

b296c3a60aa5

DeploymentTargets

Modify an existing Deployment Target (identified by ID).

put/spaces/{spaceIdentifier}/machines/{machineid}

Path parameters

spaceIdentifierstring required

Identifier (ID or slug) of the space

machineidstring required

Request body

EnvironmentIdsstring[] required
IsDisabledboolean
MachineIdstring required
MachinePolicyIdstring

Note: If this is unset, but the endpoint requires a policy, Octopus will update the machine with the default machine policy

Namestring required
Rolesstring[] required
Slugstring
SpaceIdstring required
TenantedDeploymentParticipation'Untenanted' | 'TenantedOrUntenanted' | 'Tenanted'
TenantIdsstring[]
TenantTagsstring[]
Thumbprintstring
Uristring

Response

The MachineResource following requested changes.

Architecturestring
EnvironmentIdsstring[]
HasLatestCalamariboolean
HealthStatus'Healthy' | 'Unavailable' | 'Unknown' | 'HasWarnings' | 'Unhealthy'
Idstring

Gets or sets a unique identifier for this resource.

IsDisabledboolean
IsInProcessboolean
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.

MachinePolicyIdstring
Namestring
OperatingSystemstring
OperatingSystemVersionstring
Rolesstring[]
ShellNamestring
ShellVersionstring
SkipInitialHealthCheckboolean
Slugstring
SpaceIdstring
StatusSummarystring
TenantedDeploymentParticipation'Untenanted' | 'TenantedOrUntenanted' | 'Tenanted'
TenantIdsstring[]
TenantTagsstring[]
Thumbprintstring
Uristring