Akamai · Example Payload

Akamai Post Secure Token Example

CDNCloudEdge ComputingNetworksPlatformSecurity

Akamai Post Secure Token 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": "post-secure-token",
  "method": "POST",
  "path": "/secure-token",
  "summary": "Akamai Create a Secure Token",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "expiry": 30,
        "hostname": "www.example.com",
        "propertyId": "123456789",
        "hostnames": [
          "www.hostname1.com",
          "www.hostname2.com"
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "201",
      "contentType": "application/json",
      "example": {
        "akamaiEwTrace": "eyJ0eXAiOiJKV1Qi ... iu1XOS9eJOl-54Yw"
      }
    },
    {
      "status": "400",
      "contentType": "application/problem+json",
      "example": {
        "detail": "Host name provided does not exist in the property ",
        "errorCode": "EW4807",
        "instance": "f6d70100-9214-45d8-8a22-3974bb40db1f",
        "status": 400,
        "title": "Bad Request",
        "type": "/edgeworkers/error-types/invalid-host-name"
      }
    }
  ]
}