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
| Header Name | Example Value | Optional | Type | Description | 
|---|---|---|---|---|
| operationID | 1646445464564 | Required | string | Used for global trace tracking. It is recommended to use a timestamp, unique for each request | 
| token | eyJhbxxxx3Xs | Required | string | Admin 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 Name | Optional | Type | Description | 
|---|---|---|---|
| groupID | Required | string | Group ID to be modified | 
| groupName | Optional | string | New group name | 
| notification | Optional | string | New group notification | 
| introduction | Optional | string | New group introduction | 
| faceURL | Optional | string | New group avatar URL | 
| ex | Optional | string | New group extension field | 
| needVerification | Optional | int | Join verification setting: 0 = Request required, 1 = Verification required for all, 2 = Direct join | 
| lookMemberInfo | Optional | int | View member information permission: 0 = Allowed, 1 = Not allowed | 
| applyMemberFriend | Optional | int | Add friend permission: 0 = Allowed, 1 = Not allowed | 
Success Response Example
{
  "errCode": 0,
  "errMsg": "",
  "errDlt": ""
}
Success Response Parameters Description
| Parameter Name | Type | Description | 
|---|---|---|
| errCode | int | Error code, 0 indicates success | 
| errMsg | string | Brief error message, empty if none | 
| errDlt | errDlt | Detailed error information, empty if none | 
| data | object | General data object, see structure below | 
Failure Response Example
{
  "errCode": 1004,
  "errMsg": "RecordNotFoundError",
  "errDlt": ": [1004]RecordNotFoundError"
}
Failure Response Parameters Description
| Parameter Name | Type | Description | 
|---|---|---|
| errCode | int | Error code, refer to global error code documentation | 
| errMsg | string | Brief error message | 
| errDlt | errDlt | Detailed error information |