Skip to main content

Overview

Changes the group owner. Only the current group owner can perform this operation, and the new group owner must be a group member.

Request

Authentication: Add authentication headers to the request. See Authentication

Method: POST

Rate limit: 100 requests/second

Endpoint: https://API domain/jim/groups/management/chgowner

Content-Type: application/json

Request parameters

ParameterData typeRequiredDescription
group_idstringYesGroup ID.
owner_idstringYesUser ID of the new group owner.

Request example

POST /jim/groups/management/chgowner HTTP/1.1
appkey: appkey
Authorization: xxxxxxxxxxxxxxxxxx
Content-Type: application/json

{
"group_id":"groupid1",
"owner_id":"userid2"
}

Response example

{
"code":0,
"msg":"sucess"
}

Response codes

Response codesDescription