Documentation

landing.landing.unFavoriteBlock

Scope: landing Permissions to execute: for all

landing.landing.unFavoriteBlock(
    blockId
)

Method deletes block, save to "My blocks".

Parameters

Method Description Available from version
blockIdBlock ID.

Example

BX24.callMethod(
    'landing.landing.unFavoriteBlock',
    {
        blockId: 81827
    },
    function(result)
    {
        if(result.error())
        {
            console.error(result.error());
        }
        else
        {
            console.info(result.data());
        }
    }
);


© «Bitrix24», 2001-2024