Modify a malware policyCopy Pageput https://{hostname}/appsec/v1/configs/{configId}/versions/{versionNumber}/malware-policies/{malwarePolicyId}Path ParamsconfigIdint64requiredversionNumberintegerrequiredmalwarePolicyIdintegerrequiredQuery ParamsaccountSwitchKeystringBody ParamsallowListIdstringblockListIdstringcontentTypesarray of objectscontentTypesADD objectdescriptionstringhostnamesarray of stringsrequiredhostnames*ADD stringlogFilenamebooleanDefaults to falsetruetruefalsenamestringrequiredpathsarray of stringsrequiredpaths*ADD stringHeadersacceptstringenumDefaults to application/jsonapplication/jsonapplication/problem+jsonAllowed:application/jsonapplication/problem+jsonResponses 200Successfully updated the malware policy. 400Bad request. Invalid request body or URL parameter input. 403Forbidden. You don't have access to this malware policy. 404Not found. The security configuration version or malware policy wasn't found.Updated about 2 months ago