Modify a custom rule actionCopy Pageput https://{hostname}/appsec/v1/configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/custom-rules/{ruleId}All products Updates the action of a custom rule.Path ParamsconfigIdint64requiredA unique identifier for each configuration.versionNumberintegerrequiredA unique identifier for each version of a configuration.policyIdstringrequiredA unique identifier for a security policy.ruleIdintegerrequiredA unique identifier for rule.Query ParamsaccountSwitchKeystringFor customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.Body ParamsDescribes the actions you can set when you update a custom rule action.actionstringenumrequiredSpecifies the action that the rule should trigger. Either alert, deny, denycustom{custom_deny_id}, or none. If the action is none, it isn't associated with the policy.alertdenynoneAllowed:alertdenynoneHeadersacceptstringenumDefaults to application/jsonGenerated from available response content typesapplication/jsonapplication/problem+jsonAllowed:application/jsonapplication/problem+jsonResponses 200Updated action. 400Bad request. Invalid request body or URL parameter input. 403Forbidden. You don't have edit permissions for this config. 404Not found. The config doesn't exist or you don't have access to it.Updated about 1 month ago