We are generating cache using Populate cache and LookUp cache only with particular timeout.
Now we need list of cache and delete cache hit in the environment without using any policy/Invalidate cache in the proxy.
I got some details to fetch cache details using URL provided by Apigee:
And for calling the url
organizations/{organizationId}/environments/{environmentId}
We need organizationId & environmentId . How can i get these values in the apigee edge?
And we don’t use any cache key so below is not working also from UI.
In the Admin > Environments > Cache
Our requirement to get all cache list and needs to delete cache when we require , but we don’t want to delete cache from any policy or code.
As you are utilizing Apigee Edge, the proper API set is documented here: https://apidocs.apigee.com/docs/caches/1/overview - the documentation you linked is pointing to Apigee X, which is an updated version of the Apigee instance/runtime
API authentication/authorization (as you can see from the try it functionality linked above) can either be a base64 encoded string of your username/password (not recommended), an OAuth token, or some sort of SAML/LDAP credential set, which is documented and can be followed along here: https://docs.apigee.com/api-platform/system-administration/management-api-overview