Modify a security policy's rule setCopy Pagepatch https://{hostname}/appsec/v1/configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/web-application-firewall/rulesetPath ParamsconfigIdint64requiredversionNumberintegerrequiredpolicyIdstringrequiredQuery ParamsaccountSwitchKeystringBody ParamsattackGroupsarray of objectslength ≥ 0attackGroupsADD objectrulesarray of objectslength ≥ 0rulesADD objectHeadersacceptstringenumDefaults to application/jsonapplication/jsonapplication/problem+jsonAllowed:application/jsonapplication/problem+jsonResponses 200Successfully updated security policy ruleset information. 400Invalid. Client error, such as invalid or malformed input. 404Not found. The security policy doesn't exist, doesn't carry application layer controls, or no rule with this ID is available for use in this policy. 500Internal server error. Something went wrong on our side. Try again in a few minutes or contact support if the error persists.Updated 20 days ago