Transfer Group Ownership
Brief Description
- Transfers group ownership to another member. After the transfer, the original owner becomes a regular member.
Request Method
post
Request URL
{API_ADDRESS}/group/transfer_group
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": "2137448827",
"oldOwnerUserID": "2699373280",
"newOwnerUserID": "3517105008"
}
Field Name | Optional | Type | Description |
---|---|---|---|
groupID | Required | string | Group ID |
oldOwnerUserID | Required | string | Original Group Owner |
newOwnerUserID | Required | string | New Group Owner |
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 |