Send Docs Feedback

Making management API calls from this page

  1. In the URL, replace any values enclosed in "{ }", such as your organization name.
  2. Set the Basic Authentication credentials: Edge email and password (user must be in the Org Admin role).
    If you don't have an Apigee account,
    go here.
  3. Tweak the parameters and request body as needed.
  4. Send the live request to Edge!

Clear a cache entry

Resource Summary

Security

Content Type

application/octet-stream

Category

Caches,

cacheClearEntry

POST

Clear a cache entry

Clears a cache entry, which is identified by the full CacheKey prefix and value. For more on cache keys, see [node:15591].

To learn how to clear a cache using policies, see [node:259].

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 application/octet-stream.

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

HTTP Basic

OAuth 2.0

API Key

Reset

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?