No delete task by id API in ES cluster? Intentionally? Not documented?

Documentation doesn't say anything about how to delete task by id

You need to cancel it -

so is it possible to cancel (delete) finished task?

No it is not.

Hope I'm not missing something obvious here but how do you delete the task document once the task has completed as per the documentation for the delete by query api ?

The cost of this feature is the document that wait_for_completion=false creates at .tasks/task/${taskId}. It is up to you to delete that document.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.