API 参考
/- 浏览器
- 本地 API
批量修改浏览器环境分组
用于批量修改浏览器环境的组信息。如果组名不存在,则创建新组。
POST
curl -i -X POST \
http://127.0.0.1:40000/api/env/setGroup/batch \
-H 'Content-Type: application/json' \
-d '{
"envIds": [
"2016036223642570752",
"2016028408622419968"
], //Environment IDs, array type, must choose one between this and serial IDs
"groupName": "3", //Group name, string type, required
"uniqueIds": [] //Serial IDs, array type, must choose one between this and environment IDs
}'Response
{ "code": 0, "msg": null, "data": true, "requestId": "a416bb98f6d240c3bb79e7b2cf6e7ad4" }