Modify attack payload logging settings for a policyCopy Pageput https://{hostname}/appsec/v1/configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/advanced-settings/logging/attack-payloadPath ParamsconfigIdint64requiredversionNumberintegerrequiredpolicyIdstringrequiredQuery ParamsaccountSwitchKeystringBody ParamsenabledbooleanrequiredtruefalseoverridebooleanrequiredtruefalserequestBodyobjectrequiredrequestBody objectresponseBodyobjectrequiredresponseBody objectHeadersacceptstringenumDefaults to application/jsonapplication/jsonapplication/problem+jsonAllowed:application/jsonapplication/problem+jsonResponses 200Successfully updated the policy attack payload logging settings. 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 2 months ago