Releases
Update the Variable Snapshot for a Release
post/{spaceId}/releases/{releaseId}/snapshot-variables
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/{spaceId}/releases/{releaseId}/snapshot-variables
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
Path parameters
spaceIdstring required
releaseIdstring required
Request body
Example request
{
"ReleaseId": "Releases-1",
"SpaceId": "Spaces-1"
}Response
Confirmation that the Variable Snapshot for a Release was updated, containing the updated Release
Example response
{
"ChannelId": "Channels-1",
"Id": "Releases-1",
"Links": {
"Self": "/api/..."
},
"ProjectId": "Projects-1",
"SpaceId": "Spaces-1"
}