Documentation

landing.site.markFolderDelete

landing.site.markFolderDelete(
   id
)

Method marks folder as deleted (placed into recycle bin).

Parameters

ParameterDescriptionVersion
idFolder ID. Requires access permission for deletion to site folder.

Пример

BX24.callMethod(
    'landing.site.markFolderDelete',
    {
        id: 737
    },
    function(result)
    {
        if(result.error())
        {
            console.error(result.error());
        }
        else
        {
            console.info(result.data());
        }
    }
);


© «Bitrix24», 2001-2022
Up