deleteTask

abstract suspend fun deleteTask(input: DeleteTaskRequest): DeleteTaskResponse

Deletes a task from the specified workspace. A task cannot be deleted if it is currently referenced by any existing pipeline. Remove the task from all pipelines before attempting to delete it.