Documentation

landing.site.markFolderUnDelete

landing.site.markFolderUnDelete(
   id
)

Method marks folder as undeleted (restores from recycle bin).

Parameters

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

Example

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


© «Bitrix24», 2001-2022
Up