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
Request
- Base URL: https://your-domain.atlassian.net
- URL: https://your-domain.atlassian.net/rest/api/2/task/{taskId}/cancel
- Auth: one of:
- HTTP basic
- OAuth 2 (authorization code, authorization URL https://auth.atlassian.com/authorize, token URL https://auth.atlassian.com/oauth/token, scopes: write:jira-work)
Path parameters
taskIdstring required
The ID of the task.
Response
Returned if the request is successful.
unknown required
Changes
No recorded changes to this operation across all 26 revisions of this API.