Modify a rate policy

PUT https://{{host}}/appsec/v1/configs/{{configId}}/versions/{{versionNumber}}/rate-policies/{{ratePolicyId}}

Request Body

{"id"=>2234, "matchType"=>"path", "type"=>"WAF", "name"=>"Test_Paths 2", "description"=>"AFW Test Extensions", "averageThreshold"=>5, "burstThreshold"=>10, "clientIdentifier"=>"ip", "useXForwardForHeaders"=>true, "requestType"=>"ClientRequest", "sameActionOnIpv6"=>false, "path"=>{"positiveMatch"=>true, "values"=>["/login/", "/path/"]}, "pathMatchType"=>"Custom", "pathUriPositiveMatch"=>true, "fileExtensions"=>{"positiveMatch"=>false, "values"=>["3g2", "3gp", "aif", "aiff", "au", "avi", "bin", "bmp", "cab"]}, "hostnames"=>["www.ludin.org"], "additionalMatchOptions"=>[{"positiveMatch"=>true, "type"=>"IpAddressCondition", "values"=>["198.129.76.40"]}, {"positiveMatch"=>true, "type"=>"RequestMethodCondition", "values"=>["GET"]}], "queryParameters"=>[{"name"=>"productId", "values"=>["BUB_12", "SUSH_11"], "positiveMatch"=>true, "valueInRange"=>false}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring