Modify the penalty box conditionsCopy Pageput https://{hostname}/appsec/v1/configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/penalty-box/conditionsAll products Modifies the penalty box conditions settings for a security policy.Path ParamsconfigIdint64requiredA unique identifier for each configuration.versionNumberintegerrequiredA unique identifier for each version of a configuration.policyIdstringrequiredA unique identifier for a security policy.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 ParamsContains penalty box conditions.conditionOperatorstringenumrequiredThe logic to apply to a set of penalty box conditions: either OR to satisfy any condition, or AND to satisfy all conditions.ANDORAllowed:ANDORconditionsarray of objectsrequiredlength ≥ 0The conditions list for the penalty box.conditions*ADD objectHeadersacceptstringenumDefaults to application/jsonGenerated from available response content typesapplication/jsonapplication/problem+jsonAllowed:application/jsonapplication/problem+jsonResponses 200Successfully updated penalty box conditions for the security policy. 400Invalid. Client error, such as invalid or malformed input. 403Forbidden. You don't have permission to write to this resource. 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 about 1 month ago