Bitrix24 REST API

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

Comments by users are not official documentation. Responsibility for use of the comments are born by users themselves.

The user comments section is not intended as a request box or training area, but rather for specific usage examples. For more general inquiries, please refer to link.

Comments may be added only by registered users and appear after moderation.
© 2001-2017 Bitrix, Inc. Bitrix® is a registered trademark of Bitrix, Inc. Powered by Bitrix Site Manager