新增/修改分组
POST
https://api.flashcat.cloud/api/v2/firemap/function/group/upsert
最后修改时间:2024-03-15 06:39:01
自定义添加的层级中,统一使用该接口进行分组管理
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/api/v2/firemap/function/group/upsert' \
--header 'FC-WORKSPACE-ID: 123456' \
--header 'Content-Type: application/json' \
--data-raw '{
"business_id": 1281,
"name":"功能分组1",
"owners":["zhangsan"],
"calculation": 7
}'
响应示例响应示例
{
"request_id": "c0a800666232cbe2c3f0611c58a0e3b0",
"data": 6
}
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
FC-WORKSPACE-ID
string
可选
示例值:
123456
Body 参数application/json