Documentation

landing.site.unpublic

landing.site.unpublic(
   $id
)

The method removes site (and all its pages) from publication.

Parameters

ParameterDescriptionVersion
$idSite ID.
BX24.callMethod(
   'landing.site.unpublic',
   {
      id: 1688
   },
   function(result)
   {
      if(result.error())
      {
         console.error(result.error());
      }
      else
      {
         console.info(result.data());
      }
   }
);


© «Bitrix24», 2001-2024