qwUserId)对指定群聊执行群成员操作,支持添加或移除群内员工。一次最多操作5个员工姓名。| 请求参数名 | 类型 | 说明 | 是否必须 |
|---|---|---|---|
| scrm_account_id | string | SCRM账号ID,如:W00000000516 | true |
| scrm_group_id | string | 群ID,如:wrXxxAAABBBccc123456 | true |
| qw_user_id | string | 托管员工企微ID(需要先授权),如:wonBvEDAAA9lHv80telxLj_YHPC6gDXA | true |
| action | int32 | 操作类型。1=添加群成员,2=移除群成员 | true |
| member_names | []string | 员工姓名列表,只按姓名生效,最多5个 | true |
memberNames 会自动去重memberNames 中的空字符串会自动忽略{
"scrmAccountID": "W00000000516",
"scrmGroupID": "wrXxxAAABBBccc123456",
"qwUserId": "wonBvEDAAA9lHv80telxLj_YHPC6gDXA",
"action": 1,
"memberNames": [
"张三",
"李四"
]
}{
"scrmAccountID": "W00000000516",
"scrmGroupID": "wrXxxAAABBBccc123456",
"qwUserId": "wonBvEDAAA9lHv80telxLj_YHPC6gDXA",
"action": 2,
"memberNames": [
"张三"
]
}| 响应参数名 | 类型 | 说明 |
|---|---|---|
| status | int32 | 执行状态。1=成功,2=失败 |
| failureCode | string | 失败码,成功时为空 |
| failureReason | string | 失败原因,成功时为空 |
{
"status": 1,
"failureCode": "",
"failureReason": ""
}