Documentation

disk.folder.deletetree

disk.folder.deletetree

Deletes a folder and all its sub-elements for good.

The response "result": true means a successful elimination of the folder.

Parameters

Parameter Description
id Folder ID.

Example

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




© «Bitrix24», 2001-2024