• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/rest/controllers/task/checklist.php
  • Класс: Bitrix\Tasks\Rest\Controllers\Task\Checklist
  • Вызов: Checklist::removeAttachmentsAction
public function removeAttachmentsAction($taskId, CheckListItem $checkListItem, array $attachmentsIds)
{
	$removeAttachmentsResult = TaskCheckListFacade::removeAttachments(
		$taskId,
		CurrentUser::get()->getId(),
		$checkListItem,
		$attachmentsIds
	);

	return $this->getReturn($removeAttachmentsResult);
}