Documentation

sonet_group.update

Change parameters of a social network group using the API method CSocNetGroup::Update() To perform action the current user must either be 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.

If group change is successful - return its ID, else - an error message.

Example

// 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'
});

Request:

https://mydomain.bitrix24.com/rest/sonet_group.update.json?auth=803f65e30340ff39703f8061c8b63a10&GROUP_ID=11&NAME=Test%20sonet%20group%20XXX

Response:

{"result":11}


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-2017, «Bitrix Inc.», 2017