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:
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.
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.
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.