You are viewing the Apigee Management API reference documentation. For the main product docs, and to search all docs, go to https://docs.apigee.com. For cross-site search, click Search all in the search results. |
Clear a cache entry
Resource Summary |
|
Security |
|
Content Type |
application/octet-stream |
Category |
Caches, |
POST
Clear a cache entry
To learn how to clear a cache using policies, see Example: General purpose caching.
To use the API call, specify the complete CacheKey (any Prefix and KeyFragments) and the value of the entry that you want to clear.
For example, for the following Cache entry:
apifactory__test__cacheforecast__8__default__12797282
Clear with the following:
https://api.enterprise.apigee.com/v1/o/apifactory/e/test/caches/cacheforecast/entries/ apifactory__test__cacheforecast__8__default__1279728?"action=clear
CacheKey is specified in the Cache or Response Cache policy responsible for interacting with the specified Cache resource.
Resource URL
https://api.enterprise.apigee.com/v1 /organizations/{org_name}/environments/{env_name}/caches/{cache_name}/entries/{entry}
Query Parameters
Name | Values | Description |
---|---|---|
action
(required) |
Specifies the action to take against the entry in the specified cache. The only valid value is 'clear'. |
Header Parameters
Name | Values | Description |
---|---|---|
Content-Type
(required) |
Specify the content type as |
Request Body
org_name Mention the organization name true
env_name Mention the environment name true
cache_name Mention the cache name true
entry Mention the cache entry to clear true
Make a request and see the response.
Make a request and see the response.
Make a request and see the response.
Working...
Help or comments?
- If something's not working: Ask the Apigee Community or see Apigee Support.
- If something's wrong with the docs: Click the "Send Feedback" button.
(Incorrect? Unclear? Broken link? Typo?)