Send Docs Feedback

SmartDocs basics

1. In the Resource URL, replace any values enclosed in "{}", such as your organization name.
2. Set the Basic Authentication credentials. These are your Edge email and password (user must be in the Org Admin role).
3. Tweak the Request Body as needed (if a body is needed).
4. Send the live request to Edge and view the response! You can also view Request data.

Clear a cache entry

Resource Summary

Auth Type


Content Type






Clear a cache entry

Clears a cache entry, which is identified by the full CacheKey prefix and value. For more on cache keys, see Working with cache keys.

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:


Clear with the following:

CacheKey is specified in the Cache or Response Cache policy responsible for interacting with the specified Cache resource.

Resource URL /organizations/{org_name}/environments/{env_name}/caches/{cache_name}/entries/{entry}

    Query Parameters

  • Name
  • action
    Specifies the action to take against the entry in the specified cache. The only valid value is 'clear'.

    Header Parameters

  • Name
  • Content-Type
    Specify the content type as application/octet-stream.

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

Basic Auth

OAuth 2

Custom Token


Make a request and see the response.

Make a request and see the response.


Help or comments?

  • If something's not working: Ask the Apigee Community or see Apigee Support.
  • If something's wrong with the docs: Click Send Docs Feedback on this page.
    (Incorrect? Unclear? Broken link? Typo?)