code: public function removeGroupsFromTask($process_id, $task_id, $task_remove_groups_item)
      {
          list($response) = $this->removeGroupsFromTaskWithHttpInfo($process_id, $task_id, $task_remove_groups_item);
          return $response;
      }
docs: Operation removeGroupsFromTask
  
  
  
  @param string $process_id Process ID (required)
  @param string $task_id Task ID (required)
  @param \ProcessMaker\PMIO\Model\TaskRemoveGroupsItem $task_remove_groups_item JSON API response with Group IDs to remove (required)
  @return \ProcessMaker\PMIO\Model\ResultSuccess
  @throws \ProcessMaker\PMIO\ApiException on non-2xx response