Delete by CP code

Deletes content on the selected CP code for the selected network. In most cases, you should invalidate rather than delete content. Invalidation keeps each object in cache until the version on your origin server is newer. Deletion retrieves the object regardless, which can dramatically increase the load on your origin server and would prevent Akamai from serving the old content if your origin is unreachable.

Path Params
string
enum
required
Defaults to production

Enum The network on which you want to invalidate or delete content, either staging or the default production network. If omitting this optional parameter, also omit any trailing slash from the shortened URL.

Allowed:
Body Params

Specifies a list of CP codes to invalidate or delete.

objects
array of integers
required

For CP code-based operations, an array of the CP codes you want to purge.

objects*
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/api-problem+json