Removes a task by id. Only tasks that are not part of a running process or case can be deleted; only standalone tasks can be deleted.

Method

DELETE /task/{id}

Parameters

Path Parameters

Name Description
id The id of the task to be removed.

Result

This method returns no content.

Response Codes

Code Media type Description
204 Request successful.
400 application/json Bad Request. The Task with the given id does not exist. See the Introduction for the error response format.
500 application/json The Task with the given id cannot be deleted because it is part of a running process or case instance. See the Introduction for the error response format.

Example

Request

DELETE /task/anId

Response

Status 204. No content.

On this Page: