Akamai · Example Payload

Akamai Put Challenge Action Example

CDNCloudEdge ComputingNetworksPlatformSecurity

Akamai Put Challenge Action Example is an example object payload from Akamai, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "put-challenge-action",
  "method": "PUT",
  "path": "/configs/{configId}/versions/{versionNumber}/response-actions/challenge-actions/{actionId}",
  "summary": "Update a challenge action",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "actionId": "challenge_108949",
        "actionName": "new challenge 4",
        "allowFullCpuUtilization": true,
        "challengeIntervalInSeconds": 723,
        "challengeType": "AKAMAI_WEB_CRYPTO",
        "cryptoChallengeDurationInSeconds": 100,
        "customBrandingUrl": "/abcd.html"
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "actionId": "challenge_108949",
        "actionName": "new challenge 4",
        "allowFullCpuUtilization": true,
        "challengeIntervalInSeconds": 723,
        "challengeType": "AKAMAI_WEB_CRYPTO",
        "cryptoChallengeDurationInSeconds": 100,
        "customBrandingUrl": "/abcd.html"
      }
    },
    {
      "status": "400",
      "contentType": "application/problem+json",
      "example": {
        "detail": "Validation failed",
        "errors": [
          {
            "detail": "#/actionName: is missing but it is required",
            "member": "#/actionName",
            "title": "Invalid Input Error",
            "type": "https://problems.luna.akamaiapis.net/appsec-resource/error-types/INVALID-INPUT-ERROR"
          },
          {
            "detail": "#/defaultAction: is missing but it is required",
            "member": "#/defaultAction",
            "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"
      }
    }
  ]
}