landing.site.update
landing.site.update(id, fields)
This method updates a site. If successful, returns True or returns an error.
Parameters
Method | Description | Available from version |
---|---|---|
id | Entity ID | |
fields | Modified entity fields. |
Example
BX24.callMethod( 'landing.site.update', { id: 206, fields: { TITLE: 'My second site!' } }, function(result) { if(result.error()) { console.error(result.error()); } else { console.info(result.data()); } } );
© «Bitrix24», 2001-2025