Skip to main content

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 NameExample ValueOptionalTypeDescription
operationID1646445464564RequiredstringUsed for global trace tracking. It is recommended to use a timestamp, unique for each request
tokeneyJhbxxxx3XsRequiredstringAdmin token

Request Parameters Example

{
"groupID": "2137448827",
"oldOwnerUserID": "2699373280",
"newOwnerUserID": "3517105008"
}
Field NameOptionalTypeDescription
groupIDRequiredstringGroup ID
oldOwnerUserIDRequiredstringOriginal Group Owner
newOwnerUserIDRequiredstringNew Group Owner

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