Tasks
Mark the given task as canceled.
post/{spaceId}/tasks/{id}/cancel
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/{spaceId}/tasks/{id}/cancel
- 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 resources.
idstring required
ID of the Task to cancel
Response
Returned in response to CancelServerTaskRequest. If the ServerTask cancellation failed, clients should receive an error instead.
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.