Modify Group Member Information
Brief Description
- Modifies group member information. The
roleLevel
field cannot be set to 100 (Group Owner). To transfer ownership, use the Transfer Group Ownership endpoint.
Request Method
post
Request URL
{API_ADDRESS}/group/set_group_member_info
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
{
"members": [
{
"groupID": "2137448827",
"userID": "2699373280",
"nickName": "newName",
"faceURL": "new faceURL",
"roleLevel": 60,
"ex": ""
}
]
}
Field Name | Optional | Type | Description |
---|---|---|---|
members | Required | array | List of group member objects |
members.groupID | Required | string | Group ID |
members.userID | Required | string | Group member ID |
members.nickName | Optional | string | Group member nickname |
members.faceURL | Optional | string | Group member avatar URL |
members.roleLevel | Optional | int | Group member role level: 60 = Administrator, 20 = Regular Member |
members.ex | Optional | string | Group member extension field |
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 |