I am trying to update variable snapshot on a release through the api. However the call does not work. I get 200 in return with Postman but as said, the release is not updated with latest varialbes. Anything that can be done?
The url looks like this:
Thanks for getting in touch! The URL to post the variable snapshot update to should look something like
http://my-octopus.xx.com/api/releases/220.127.116.112-r13559/snapshot-variables. We have a sample script to do this via PowerShell that may help.
Let me know how you go or if you have any further questions moving forward!
Thanks, that solved it, with the addition that the version 18.104.22.1682-r13559 had to be replaced wih Releases-Id.
You’re very welcome. I’m happy to hear that solved it! Don’t hesitate to reach out if you have any further questions or concerns moving forward.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.