Documentation

landing.landing.unFavoriteBlock

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-2022
Up