Skip to main content

Modify Group Information

Brief Description

  • Allows modification of group information. Only the fields that need to be updated should be sent, including fields with null values if applicable.

Request Method

  • post

Request URL

  • {API_ADDRESS}/group/set_group_info_ex
Header NameExample ValueOptionalTypeDescription
operationID1646445464564RequiredstringUsed for global trace tracking. It is recommended to use a timestamp, unique for each request
tokeneyJhbxxxx3XsRequiredstringAdmin token

Request Parameters Example

{
"groupID": "xadxwr24",
"groupName": "new name",
"notification": "new notification",
"introduction": "new introduction",
"faceURL": "www.newfaceURL.com",
"ex": "new ex",
"needVerification": 1,
"lookMemberInfo": 1,
"applyMemberFriend": 1
}
Field NameOptionalTypeDescription
groupIDRequiredstringGroup ID to be modified
groupNameOptionalstringNew group name
notificationOptionalstringNew group notification
introductionOptionalstringNew group introduction
faceURLOptionalstringNew group avatar URL
exOptionalstringNew group extension field
needVerificationOptionalintJoin verification setting: 0 = Request required, 1 = Verification required for all, 2 = Direct join
lookMemberInfoOptionalintView member information permission: 0 = Allowed, 1 = Not allowed
applyMemberFriendOptionalintAdd friend permission: 0 = Allowed, 1 = Not allowed

Success Response Example

{
"errCode": 0,
"errMsg": "",
"errDlt": ""
}

Success Response Parameters Description

Parameter NameTypeDescription
errCodeintError code, 0 indicates success
errMsgstringBrief error message, empty if none
errDlterrDltDetailed error information, empty if none
dataobjectGeneral data object, see structure below

Failure Response Example

{
"errCode": 1004,
"errMsg": "RecordNotFoundError",
"errDlt": ": [1004]RecordNotFoundError"
}

Failure Response Parameters Description

Parameter NameTypeDescription
errCodeintError code, refer to global error code documentation
errMsgstringBrief error message
errDlterrDltDetailed error information