{ "operationId": "put-google-recaptcha-secret-key", "method": "PUT", "path": "/configs/{configId}/versions/{versionNumber}/response-actions/challenge-actions/{actionId}/google-recaptcha-secret-key", "summary": "Update Google reCAPTCHA secret key", "requestExamples": [ { "contentType": "application/json", "example": { "googleReCaptchaSecretKey": "Z29yZ2xlABClY3JldCBrZXkgd2hpY2ggaXMgaW4gYmFzZTY0IGVuY3J5cHRlZCBmb3JtXYZ=" } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "googleReCaptchaSecretKey": "Z29yZ2xlABClY3JldCBrZXkgd2hpY2ggaXMgaW4gYmFzZTY0IGVuY3J5cHRlZCBmb3JtXYZ=" } }, { "status": "400", "contentType": "application/problem+json", "example": { "detail": "Validation failed", "errors": [ { "detail": "#/allowFullCpuUtilization: must be null when challengeType is AKAMAI_MOBILE_CRYPTO", "member": "#/allowFullCpuUtilization", "title": "Invalid Input Error", "type": "https://problems.luna.akamaiapis.net/appsec-resource/error-types/INVALID-INPUT-ERROR" }, { "detail": "#/cryptoChallengeDurationInSeconds: must not be null/empty when challengeType is AKAMAI_MOBILE_CRYPTO", "member": "#/cryptoChallengeDurationInSeconds", "title": "Invalid Input Error", "type": "https://problems.luna.akamaiapis.net/appsec-resource/error-types/INVALID-INPUT-ERROR" }, { "detail": "#/customBrandingUrl: must be null when challengeType is AKAMAI_MOBILE_CRYPTO", "member": "#/customBrandingUrl", "title": "Invalid Input Error", "type": "https://problems.luna.akamaiapis.net/appsec-resource/error-types/INVALID-INPUT-ERROR" } ], "instance": "https://problems.luna.akamaiapis.net/appsec-resource/error-instances/5fae03812da3853f", "status": 400, "title": "Invalid Input Error", "type": "https://problems.luna.akamaiapis.net/appsec-resource/error-types/INVALID-INPUT-ERROR" } }, { "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": "Challenge action with id [challenge_108949] does not exist", "instance": "https://problems.luna.akamaiapis.net/appsec-resource/error-instances/e39338aca5b4962e", "status": 404, "title": "Not Found", "type": "https://problems.luna.akamaiapis.net/appsec-resource/error-types/NOT-FOUND" } } ] }