有奖捉虫:办公协同&微信生态&物联网文档专题 HOT

接口描述

描述:针对已删除企业用户,将该用户账号下的资产(历史云录制资产、未来召开的会议)移交给指定在职用户,目前暂不支持 OAuth2.0 鉴权访问。
注意:
仅支持操作已经被删除的用户。
请求方式:POST
接口请求域名:
https://api.meeting.qq.com/v1/users/delete-transfer

输入参数

以下请求参数列表仅列出了接口请求参数,HTTP 请求头公共参数请参见签名验证章节的 公共参数说明
参数名称
必选
参数类型
参数描述
operator_id_type
Integer
操作者 ID 的类型:
1:userid
operator_id
String
操作者 ID。 operator_id 必须与 operator_id_type 配合使用。根据 operator_id_type 的值,operator_id 代表不同类型。 operator_id_type=2,operator_id 必须和公共参数的 openid 一致。
to_operator_id_type
Integer
被操作者 ID 的类型:
1:userid
to_operator_id
String
被操作者 ID,根据 to_operator_id_type 的值,使用不同的类型,这里指被删除的用户。
data_process
String
删除用户的数据处理方式:
1:彻底删除
2:转移给指定成员
不传时默认为 1。
transfer_data
String
转移的具体数据。
0:全部
1:云录制
2:会议列表
data_process 为2时生效,不传时默认为0。
receiver_id_type
Integer
数据接收者 ID 的类型:
1:userid
receiver_id
String
数据接收者的 ID,根据 receiver_id_type 的值,使用不同的类型。data_process 为2时生效,如果 userid 不存在会报错。

输出参数

无输出参数,成功返回空消息体,失败返回 错误码 和错误信息。

示例

输入示例

POST https://api.meeting.qq.com/v1/users/delete-transfer
{

"operator_id_type": 1,
"operator_id": "tester",
"to_operator_id_type": 1,
"to_operator_id": "test1",
"data_process": "2",
"transfer_data": "0"
"receiver_id_type": 1,
"receiver_id": "test2",
}

输出示例

{}