Was this helpful?


API Platform Base Path: https://api.enterprise.apigee.com/v1/o/{org_name}

API Resource Path:


Description: Clears all entries from the specified cache. Entries to be cleared can be scoped by CacheKey prefix by using the 'prefix' parameter.

Verb: POST
Auth: Basic Auth
Media types:


Sample Request:
$ curl -X POST -H "Content-type:application/octet-stream" \
https://api.enterprise.apigee.com/v1/o/{org_name}/environments/{env_name}/caches/{cache_name}/entries?action=clear&prefix={cachekey_prefix} \
-u myname:mypass
Query Parameters:
Name Description Default Required?
action Specifies the action to take against the entries in the specified cache. The only valid value is 'clear'. N/A Yes
prefix Scopes the entries to be cleared by the CacheKey prefix specified. (The CacheKey Prefix is defined in the Cache or ResponseCache policy that creates the entries.) N/A No
Sample Response:



Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.