Tasks
Change the state of a task
post/spaces/{spaceIdentifier}/tasks/{id}/state
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/spaces/{spaceIdentifier}/tasks/{id}/state
- 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
idstring required
The ID of the task
Request body
Example request
{
"Id": "ServerTasks-1",
"SpaceId": "Spaces-1"
}Response
Returns the Task resource after the state has been changed in response to a ModifyServerTaskStateCommand
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.