'Remove all cache from Azure APIM

I am looking for a way to programmatically expire/delete the internal cache from Azure APIM. I understand when using custom cache policies you can remove a cache entry based on the key. However I don't need this, I am simply using the following simple cache entries to cache the entire response.

<cache-lookup vary-by-developer="false" vary-by-developer-groups="false" downstream-caching-type="none" />

<cache-store duration="86400" />

I don't see there is anyway to remove this cache without updating the policy to invoke the operation to get a new cache entry.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source