I\'d like to start a release leveraging the VSTS Rest API defined here: https://www.visualstudio.com/en-us/docs/integrate/api/rm/releases#create-a-release
but I need
Now you can define VSTS Release variables to be "Settable at release time" as shown below.
Then you can use below json syntax in VSTS REST API call request body to pass the variable values to set at the time of creating the release.
"variables": {
"Variable1Name": {
"value": "Variable1Value"
},
"Variable2Name": {
"value": "Variable2Value"
}
}
For more information refer the post here.