更新采集配置
开发中
PUT
https://api.flashcat.cloud/api/n9e-plus//collect/{id}
最后修改时间:2025-03-13 06:56:29
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.flashcat.cloud/api/n9e-plus//collect/' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"name": "string",
"group_id": 0,
"queries": [
{
"key": "string",
"op": "string",
"values": [
0
]
}
],
"enable_time": [
{
"enable_stime": "string",
"enable_etime": "string",
"enable_days_of_week": "string"
}
],
"disabled": 0,
"component": "string",
"component_id": 0,
"cate": "string",
"content": "string",
"version": "string",
"create_at": "string",
"create_by": "string",
"update_at": "string",
"update_by": "string",
"load_by_categraf": "string",
"active_target_nums": "string",
"heartbeat_max_duration": "string"
}'
响应示例响应示例
{
"err":""
}
请求参数
Path 参数
id
string
采集id
Body 参数application/json