Home
Akamai
Akamai Put Api Request Constraints Example
Akamai Put Api Request Constraints Example
CDN Cloud Edge Computing Networks Platform Security
Akamai Put Api Request Constraints 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
operationId method path summary requestExamples responseExamples
Example Payload
{
"operationId": "put-api-request-constraints",
"method": "PUT",
"path": "/configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/api-request-constraints",
"summary": "Modify the request constraint action for all APIs",
"requestExamples": [
{
"contentType": "application/json",
"example": {
"action": "alert"
}
}
],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"apiEndpoints": [
{
"action": "alert",
"id": 1941
},
{
"action": "alert",
"id": 1942
},
{
"action": "alert",
"id": 1943
}
]
}
},
{
"status": "400",
"contentType": "application/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"
}
},
{
"status": "500",
"contentType": "application/problem+json",
"example": {
"detail": "Internal Server Error",
"instance": "12ab3c45-789d-01ef-2gh3-ijk4l56m78no",
"status": 500,
"title": "Internal Server Error",
"type": "internal_server_error"
}
}
]
}