Delete Task

opensearch_py_ml.ml_commons.MLCommonClient.delete_task(self, task_id: str) object

This method deletes a task from opensearch cluster (using ml commons api)

Parameters:

task_id (string) – unique id of the task

Returns:

returns a json object, with detailed information about the deleted task

Return type:

object