修改单条匹配器
请求URL
{{url}}/api/match/update
请求方式
post
Header
字段名
示例值
必选
类型
说明
x-api-key
{{x-api-key}}
是
string
无
x-api-secret
{{x-api-secret}}
是
string
无
请求参数示例
请求json字段说明
字段名
必选
类型
说明
id
是
string
匹配器ID
name
是
string
匹配器名称
des
是
string
描述
data
是
object
匹配规则,如果为{}时,表示匹配所有,格式为对象,键名支持ip、host、req_uri、req_method、uri、user_agent、referer、country_iso_code,opertator支持=、!=、!contain、contain、!AC、AC。当operator值为!AC或AC时,value值格式需要为数
enable
是
string
是否启用 0 否 1是
成功返回示例
失败返回示例
Last updated