将客户移出群聊
POST
/api/v1/instantReply/removeFromRoom
💡
请求参数
Query 参数
token
string
调用接口凭证
Body 参数application/json
botUserId
string
执行托管账号的企业微信userId
contactWxid
string
被移出的群成员的系统ID
非好友关系:从获取群聊列表接口中获取该成员对应的imContactid
roomWxid
string
移出的群的系统wxid
示例
{
"botUserId": "string",
"contactWxid": "string",
"roomWxid": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/instantReply/removeFromRoom?token=' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
errcode
number
返回码
errmsg
string
对返回码的文本描述内容
示例
{
"errcode": 0,
"errmsg": "string"
}
修改于 2024-10-09 06:05:54