code: public function deleteTask($process_id, $task_id)
      {
          list($response) = $this->deleteTaskWithHttpInfo($process_id, $task_id);
          return $response;
      }
docs: Operation deleteTask
  
  
  
  @param string $process_id Process ID (required)
  @param string $task_id ID of a task to delete (required)
  @return \ProcessMaker\PMIO\Model\ResultSuccess
  @throws \ProcessMaker\PMIO\ApiException on non-2xx response