Create a malware policyCopy Pagepost https://{hostname}/appsec/v1/configs/{configId}/versions/{versionNumber}/malware-policiesPath ParamsconfigIdint64requiredversionNumberintegerrequiredQuery 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 201Successfully created a malware policy. 400Bad request. Invalid request body or URL parameter input. 403Forbidden. You don't have access to malware policies in this security configuration. 404Not found. Security configuration version wasn't found.Updated 2 months ago