Akamai · Example Payload

Akamai Put Custom Deny Example

CDNCloudEdge ComputingNetworksPlatformSecurity

Akamai Put Custom Deny 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-custom-deny",
  "method": "PUT",
  "path": "/configs/{configId}/versions/{versionNumber}/custom-deny/{customDenyId}",
  "summary": "Modify a custom deny action",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "description": "test description",
        "id": "deny_custom_622919",
        "name": "new custom deny",
        "parameters": [
          {
            "displayName": "Prevent browser caching",
            "name": "prevent_browser_cache",
            "value": "true"
          },
          {
            "displayName": "Response body content",
            "name": "response_body_content",
            "value": "json desc"
          },
          {
            "displayName": "Response content type",
            "name": "response_content_type",
            "value": "application/xml"
          },
          {
            "displayName": "Response status code",
            "name": "response_status_code",
            "value": "403"
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "description": "test description",
        "id": "deny_custom_622919",
        "name": "new custom deny",
        "parameters": [
          {
            "displayName": "Prevent browser caching",
            "name": "prevent_browser_cache",
            "value": "true"
          },
          {
            "displayName": "Response body content",
            "name": "response_body_content",
            "value": "json body"
          },
          {
            "displayName": "Response content type",
            "name": "response_content_type",
            "value": "application/xml"
          },
          {
            "displayName": "Response status code",
            "name": "response_status_code",
            "value": "403"
          }
        ]
      }
    },
    {
      "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"
      }
    }
  ]
}