Tasks
Cancel task
Cancels a task.
Permissions required: either of:
- Administer Jira global permission.
- Creator of the task.
post/rest/api/2/task/{taskId}/cancel
Path parameters
taskIdstring required
The ID of the task.
Response
Returned if the request is successful.
{"stackTrail":"paths:/rest/api/2/task/{taskId}/cancel:post:responses:202:content:application/json:schema","oasType":"schema","type":"unknown"}