{ "operationId": "put-reputation-profile", "method": "PUT", "path": "/configs/{configId}/versions/{versionNumber}/reputation-profiles/{reputationProfileId}", "summary": "Modify a reputation profile", "requestExamples": [ { "contentType": "application/json", "example": { "condition": { "atomicConditions": [ { "checkIps": "connecting", "className": "AsNumberCondition", "index": 1, "positiveMatch": true, "value": [ "1" ] }, { "className": "RequestCookieCondition", "index": 2, "name": "x-header", "nameCase": true, "nameWildcard": true, "positiveMatch": true, "valueCase": false, "valueWildcard": true }, { "className": "HostCondition", "host": [ "example.com" ], "index": 3, "positiveMatch": true, "valueWildcard": true } ], "positiveMatch": true }, "context": "WEBATCK", "description": "Reputation profile description", "enabled": false, "id": 2509987, "name": "Web Attack Rep Profile", "sharedIpHandling": "NON_SHARED", "threshold": 5 } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "condition": { "atomicConditions": [ { "checkIps": "connecting", "className": "AsNumberCondition", "index": 1, "positiveMatch": true, "value": [ "1" ] }, { "className": "RequestCookieCondition", "index": 2, "name": "x-header", "nameCase": true, "nameWildcard": true, "positiveMatch": true, "valueCase": false, "valueWildcard": true }, { "className": "HostCondition", "host": [ "*.com" ], "index": 3, "positiveMatch": true, "valueWildcard": true } ], "positiveMatch": true }, "context": "WEBATCK", "description": "Reputation profile description", "enabled": false, "id": 2509987, "name": "Web Attack Rep Profile", "sharedIpHandling": "NON_SHARED", "threshold": 5 } }, { "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" } } ] }