Documentation

disk.folder.markdeleted

disk.folder.markdeleted

Moves a folder to recycle bin.

The response contains the same structure as in disk.folder.get.

Parameters

Parameter Description
id Folder ID.

Example

BX24.callMethod(
		"disk.folder.markdeleted",
		{
			id: 8
		},
		function (result)
		{
			if (result.error())
				console.error(result.error());
			else
				console.dir(result.data());
		}
);



© «Bitrix24», 2001-2024