I’ve got a Tenanted Project that makes use of a Library Variable Set. In the library set the variable contains a default value but as it is a templated variable it can be overridden at the Tenant level, thus making the value unique for each Tenant.
Using PowerShell, the Invoke-RestMethod and a GET I can load the Library Variable and see the value for a particular Tenant. It looks something like:
$y = Invoke-RestMethod -Uri “$OctopusURL/api/tenants/Tenants-1561/variables” -Method GET -Headers $header
Can I update the value of this Library Variable for this Tenant only using a PUT? I haven’t been able to work out the syntax.