新增/修改层级
POST
https://api.flashcat.cloud/api/v2/firemap/business/group/upsert
最后修改时间:2024-03-15 04:00:04
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/api/v2/firemap/business/group/upsert' \
--header 'FC-WORKSPACE-ID: 893594101777' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"name": "自定义层级",
"order": 3,
"enable":true
}'
响应示例响应示例
{
"request_id": "c0a800666232abcaa85841d1aff892b0",
"data": 3
}
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
FC-WORKSPACE-ID
string
可选
示例值:
893594101777
Body 参数application/json