- 开发指南
- 基础接口
- 客户设置
- 消息推送
- 客户&线索&待分配
- 公海
- 企微组织架构
- 企微标签库
- 企业
- 合同
- 电商平台
- 营销
- 营销内容
- 企微获客
- 渠道活码
- 一客一码
- 问答库
- 获客活动
- 数据统计
- 内容访客
- 电销手机
- SOP任务
- 群发消息
- 管控
- 工单
- 素材
- 应用通知
- 附录
- 群数据
- 店主活码
编辑分组
POST
/api/v3/faqApi/group/update
请求参数
Header 参数
appId
string
应用 appId
默认值:
{{appId}}
timestamp
string
请求时间戳
默认值:
{{timestamp}}
sign
string
请求消息签名值
默认值:
{{sign}}
appKey
string
应用 appKey
默认值:
{{appKey}}
Body 参数application/json
id
integer
分组id
groupName
string
分组名称
updateAuth
integer
是否修改了权限
auth
integer
是否为公共分组
departmentIds
array[integer]
生效部门
salesIds
array[integer]
生效员工
示例
{
"id": 1476,
"groupName": "测试分组-修改",
"auth": 1,
"departmentIds": [
18661
],
"salesIds": [],
"updateAuth": 0
}
示例代码
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/v3/faqApi/group/update' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 1476,
"groupName": "测试分组-修改",
"auth": 1,
"departmentIds": [
18661
],
"salesIds": [],
"updateAuth": 0
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
示例
{
"code": 0,
"message": "success"
}
修改于 2023-08-15 11:51:06