I found this topic on redeploying using the API (and I am running an older version), but unfortunately the link to the script is dead:
https://help.octopus.com/t/deploying-release-via-the-rest-api/10173
Can someone explain the process of re-deploying a release to a given target using the API? I am able to do the initial deployment, so would like to know what verbs, endpoints, and options are required.
Hi @Henry.LaFleur !
Thanks for reaching out. We do have an example script of this in our API repo here: https://github.com/OctopusDeploy/OctopusDeploy-Api/blob/master/REST/PowerShell/Deployments/ReDeployLatestReleaseInEnvironment.ps1
Hopefully this is what you’re after, if not a good start to get you most of the way there.
Happy Deployments!
1 Like
system
(system)
Closed
21 June 2020 23:14
4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.