此端点允许您向组织添加新的企业组。
如果您传入一个空数组,将在不添加任何新组的情况下返回当前所有 IDP 组。
返回添加后所有群组名称的列表。
curl -X PUT "https://api.devin.ai/v2/enterprise/groups" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"group_names": ["Engineering", "Product"]
}'
[
"Engineering",
"Product",
"Marketing",
"Sales",
"Support"
]