Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Invalidate cache programmatically in APIGEE

I have read the documentation about cache API in APIGEE.

But I have a requirement to implement an API that invalidates cache entries in Apigee. Specifically, whenever important data is updated, I want to invoke this cache invalidation API. The input to the function should be the Apigee endpoint URL, and the API should delete all cache entries related to that endpoint, without needing to specify the cache name or cache key. However, I haven't found any documentation that outlines how to achieve this.

Could anyone please assist me with the correct approach or documentation for this scenario?

Solved Solved
0 1 443
1 ACCEPTED SOLUTION

Hi, thanks for reaching out @Princy

For this, you could use the POST/entries to clear the entire cache.

Or POST /entries/{entry} for a specific entry you know.

You can find more details and guide here: https://apidocs.apigee.com/docs/caches/1/routes/organizations/%7Borg_name%7D/environments/%7Benv_nam...

View solution in original post

1 REPLY 1