DeploymentSettings
Modify deployment settings
Modifies deployment settings for a project.
put/projects/{projectId}/{gitRef}/deploymentsettings
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/projects/{projectId}/{gitRef}/deploymentsettings
- 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
projectIdstring required
The Project ID to get the deployment settings from. Example Projects-1.
gitRefstring required
Git reference to use when modifying deployment settings.
Request body
Example request
{
"ProjectId": "Projects-1",
"SpaceId": "Spaces-1"
}Response
Confirmation that the Deployment Settings were modified, contains the updated Deployment Settings
Example response
{
"Links": {
"Self": "/api/..."
},
"ProjectId": "Projects-1",
"SpaceId": "Spaces-1"
}Changes
No recorded changes to this operation across all 13 revisions of this API.