I am trying to create a script that will run Rest APIs on Octopus Deploy to copy a Variable Set from one Octopus Deploy Space to another. To do this I need to run a POST to create the Variable Set (which seems to be fine). I then need to run a PUT operation on the Variables in the new Variable Set.
When I go to the swagger page, and find the put operation that says it “Updates a variable set” it does not have a parameter for the actual variables. (Just takes the space and an
How can I use the Octopus Rest API to add a variable to an existing Variable Set?