{ "operationId": "put-behavioral-ddos-profile-action", "method": "PUT", "path": "/configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/behavioral-ddos/{profileId}", "summary": "Modify a Behavioral DDoS profile action", "requestExamples": [ { "contentType": "application/json", "example": { "action": "alert" } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "action": "alert", "profileId": 100 } }, { "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": "401", "contentType": "application/problem+json", "example": { "detail": "The signature does not match", "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749", "status": 401, "title": "Not authorized", "type": "https://problems.luna-dev.akamaiapis.net/-/pep-authn/deny" } }, { "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" } }, { "status": "405", "contentType": "application/problem+json", "example": { "detail": "Unsupported method", "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749", "status": 405, "title": "Method Not Allowed", "type": "https://problems.luna-dev.akamaiapis.net/-/pep-authn/policy-error" } }, { "status": "406", "contentType": "application/problem+json", "example": { "detail": "HTTP 406 Not Acceptable", "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749", "status": 406, "title": "Invalid Input Error", "type": "https://problems.luna.akamaiapis.net/appsec/error-types/INVALID-INPUT-ERROR" } }, { "status": "500", "contentType": "application/problem+json", "example": { "detail": "Internal Server Error", "instance": "12ab3c45-789d-01ef-2gh3-ijk4l56m78no", "status": 500, "title": "Internal Server Error", "type": "internal_server_error" } } ] }