Variables

Modify variables for the project

put/{spaceId}/projects/{projectId}/{gitRef}/variables

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/{spaceId}/projects/{projectId}/{gitRef}/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

The ID of the space containing the resource(s).

projectIdstring required
gitRefstring required

Request body

ChangeDescriptionstring
GitRefstring required
ProjectIdstring required
SpaceIdstring required

The ID of the space containing the resource(s).

Versioninteger

Example request

{
  "ProjectId": "Projects-1",
  "SpaceId": "Spaces-1"
}

Response

Confirms that a Project Variable Set has been modified

ModifyProjectVariableSetInGitResponse required

Changes

No recorded changes to this operation across all 13 revisions of this API.