Remove Octopus Target Command

Edit on GitHub

Delete target

Command: Remove-OctopusTarget

ParameterValue
-targetIdOrNameThe Name or Id of the target to delete

Example:

PowerShell
Remove-OctopusTarget -targetIdOrName "My Azure Web Application"