Akamai · Example Payload

Akamai Get Cpcode Example

CDNCloudEdge ComputingNetworksPlatformSecurity

Akamai Get Cpcode 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": "get-cpcode",
  "method": "GET",
  "path": "/cpcodes/{cpcodeId}",
  "summary": "Get a CP code",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "accountId": "A-CCT9012",
        "cpcodeId": 1234567,
        "cpcodeName": "Digital Company CP Code",
        "defaultTimezone": "GMT 0 (Greenwich Mean Time)",
        "purgeable": true,
        "type": "Regular",
        "accessGroup": {
          "contractId": "C-0N7RAC7",
          "groupId": 15225
        },
        "overrideTimezone": {
          "timezoneId": "0",
          "timezoneValue": "GMT 0 (Greenwich Mean Time)"
        },
        "contracts": [
          {
            "contractId": "K-0N7RAK7",
            "status": "ongoing"
          }
        ],
        "products": [
          {
            "productId": "AdvSite::Reporter",
            "productName": "Monitor site advance"
          }
        ]
      }
    },
    {
      "status": "400",
      "contentType": "application/problem+json",
      "example": {
        "code": "bad.request",
        "incidentId": "dc2f405e-29d3-4845-a4ac-2f6b4a732aca",
        "title": "Bad Request",
        "details": [
          {
            "code": "invalid.data",
            "message": "Group name is mandatory"
          }
        ]
      }
    },
    {
      "status": "401",
      "contentType": "application/problem+json",
      "example": {
        "code": "unauthorized",
        "incidentId": "dc2f405e-29d3-4845-a4ac-2f6b4a732aca",
        "title": "Unauthorized",
        "details": [
          {
            "code": "invalid.data",
            "message": "The request requires authentication"
          }
        ]
      }
    },
    {
      "status": "403",
      "contentType": "application/problem+json",
      "example": {
        "code": "forbidden",
        "incidentId": "dc2f405e-29d3-4845-a4ac-2f6b4a732aca",
        "title": "Forbidden",
        "details": [
          {
            "code": "invalid.role",
            "message": "User is not authorized"
          }
        ]
      }
    },
    {
      "status": "404",
      "contentType": "application/problem+json",
      "example": {
        "code": "not.found",
        "incidentId": "dc2f405e-29d3-4845-a4ac-2f6b4a732aca",
        "title": "Not Found",
        "details": [
          {
            "code": "invalid.data",
            "message": "The reporting group with id 000 is already deleted"
          }
        ]
      }
    },
    {
      "status": "405",
      "contentType": "application/problem+json",
      "example": {
        "code": "method.not.allowed",
        "incidentId": "3714936a-07a6-4991-939f-c201adbf35f3",
        "title": "Method Not Allowed",
        "details": [
          {
            "code": "method.not.supported",
            "message": "method.not.supported"
          }
        ]
      }
    }
  ]
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/akamai-get-cpcode-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.