Changes parameters of a social network group using the API method CSocNetGroup::Update() To perform action the current user must either be the group owner or have social network administration permissions.

Get all fields in parameters required for the CSocNetGroup::Update() method to work, as well as GROUP_ID - the group ID that needs to be changed.

Return new group ID on success, otherwise returns an error message.


// Change the social network group ID=11 name to 'Test sonet group XXX'

BX24.callMethod('sonet_group.update', {
 'GROUP_ID': 11,
 'NAME': 'Test sonet group XXX'




User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2021, «Bitrix Inc.», 2021