Runbooks
Update an existing Runbook
put/spaces/{spaceIdentifier}/projects/{projectId}/{gitRef}/runbooks/{id}
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/spaces/{spaceIdentifier}/projects/{projectId}/{gitRef}/runbooks/{id}
- 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
spaceIdentifierstring required
Identifier (ID or slug) of the space
projectIdstring required
The ID of the project the runbook belongs to. Must be a version-controlled project that stores its runbooks in Git.
gitRefstring required
The Git branch where the runbook is stored.
idstring required
The ID of the runbook to update. A runbook stored in Git uses its slug as the ID, which is only unique within its project and Git ref.
Request body
Example request
{
"Environments": [
"Environments-1",
"..."
],
"Id": "Runbooks-1",
"ProjectId": "Projects-1",
"SpaceId": "Spaces-1"
}Response
Confirmation that the Runbook has been modified, containing the updated Runbook
Example response
{
"Environments": [
"Environments-1",
"..."
],
"Links": {
"Self": "/api/..."
},
"ProjectId": "Projects-1",
"SpaceId": "Spaces-1"
}Changes
No recorded changes to this operation across all 13 revisions of this API.