修改
PUT
http://172.16.14.11:8069/api/v1/hosts/template/triggerRulePrototype/<int:trigger_id>
请求头
参数名
类型
描述
必填
Content-Type
string
示例:application/json
必填
请求参数
参数名
类型
描述
必填
uid
string
示例:6
必填
token
string
示例:339f4bf33b017a3aa0bb2d29cfa1bcca18b23ef6o1609904774
必填
description
string
示例:交换机 {HOST.NAME} 是生成树树根
必填
expression
string
示例:{Template Name:stp.rootcost.last(#3)}=0
必填
comments
string
示例:修改触发器接口测试
必填
priority
string
示例:1
必填
recovery_mode
string
示例:1
必填
manual_close
boolean
示例:false
必填
type
string
示例:0
必填
recovery_expression
string
示例:{Template Name:stp.rootcost.last(#3)}=1
必填