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

接口描述

用于批量删除成员,请谨慎调用。

请求方法

POST(application/json)

请求地址

https://open.wecard.qq.com/cgi-bin/user/manage/batch-delete

输入参数

参数名称
参数描述
参数类型
是否必填
备注
access_token
应用有效凭证
String
通过获取应用有效凭证接口获取
card_numbers
电子卡号数组
List
-

输出参数

参数名称
参数描述
参数类型
是否必填
备注
errcode
状态码
Integer
0:成功,非0:错误
errmsg
状态描述信息
String
-
failed_list
失败用户的电子卡信息
List
-
failed_list.card_number
失败用户的电子卡号
String
-
failed_list.reason
失败原因
String
-

示例

输入示例

{
"access_token":"",
"card_numbers":[
"REAL4411902"
]
}

输出示例

{
"errcode":0,
"errmsg":"success",
"failed_list":[
{
"card_number":"dealtest_1100",
"reason":"用户不存在"
}
]
}