接口
PATCH https://cloud.minapp.com/oserve/v1/miniapp/group/membership/
参数说明
Content-Type: application/json
application/json
参数
类型
必填
说明
op
String
N
将要执行的操作,即 add 为将用户加入用户组;remove 将用户从用户组中移出
add
remove
path
访问的路径,默认为 /membership
/membership
users
Integer Array
用户的 user_id 列表,列表不能为空
groups
用户组 ID 列表,列表不能为空
提交的数据是一个数组,数组中包含一系列由上面参数组成的操作。
代码示例
状态码说明
204 修改成功,400 参数错误
204
400
Last updated 7 years ago
Was this helpful?