ProjectTriggers
Modify a ProjectTriggerResource by ID
Updates an existing project trigger
put/{spaceId}/projects/{projectId}/triggers/{id}
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/{spaceId}/projects/{projectId}/triggers/{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
spaceIdstring required
Id of the space where the project is located
projectIdstring required
ProjectId of the project trigger
idstring required
Id of the project trigger
Request body
Example request
{
"Action": {
"Links": {
"Self": "/api/..."
}
},
"Filter": {
"Links": {
"Self": "/api/..."
}
},
"Id": "ProjectTriggers-1",
"ProjectId": "Projects-1",
"SpaceId": "Spaces-1"
}Response
Modified project trigger resource response
Example response
{
"Action": {
"Links": {
"Self": "/api/..."
}
},
"Filter": {
"Links": {
"Self": "/api/..."
}
},
"Links": {
"Self": "/api/..."
},
"SpaceId": "Spaces-1"
}Changes
No recorded changes to this operation across all 13 revisions of this API.