{ "operationId": "put-malware-policy", "method": "PUT", "path": "/configs/{configId}/versions/{versionNumber}/malware-policies/{malwarePolicyId}", "summary": "Modify a malware policy", "requestExamples": [ { "contentType": "application/json", "example": { "allowListId": "523719_ALLOWLIST", "blockListId": "524002_BLOCKLIST", "contentTypes": [ { "encodedContentAttributes": [ { "encoding": [ "base64" ], "path": "image.imagePath" } ], "name": "application/json" } ], "description": "Malware scan configuration details", "hostnames": [ "abc.com", "def.com", "xyz.com" ], "logFilename": true, "name": "FMS Configuration", "paths": [ "/base-path", "/b" ] } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "allowListId": "523719_ALLOWLIST", "blockListId": "524002_BLOCKLIST", "contentTypes": [ { "encodedContentAttributes": [ { "encoding": [ "base64" ], "path": "image.imagePath" } ], "name": "application/json" } ], "description": "Malware scan configuration details", "hostnames": [ "abc.com", "def.com", "xyz.com" ], "id": 82, "logFilename": true, "name": "FMS Configuration", "paths": [ "/base-path", "/b" ] } }, { "status": "400", "contentType": "application/problem+json", "example": { "detail": "The request could not be understood by the server due to malformed syntax.", "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749", "status": 400, "title": "Bad Request", "type": "https://problems.luna.akamaiapis.net/appsec/error-types/BAD-REQUEST" } }, { "status": "403", "contentType": "application/problem+json", "example": { "detail": "You do not have the necessary access to perform this operation or the requested resource cannot be modified", "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749", "status": 403, "title": "Forbidden", "type": "https://problems.luna.akamaiapis.net/appsec-resource/error-types/ACCESS-DENIED" } }, { "status": "404", "contentType": "application/problem+json", "example": { "detail": "The requested resource is not found", "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749", "status": 404, "title": "Not Found", "type": "https://problems.luna.akamaiapis.net/appsec/error-types/NOT-FOUND" } } ] }