Cache

Use the Cache API to clear the caches used by Content Hub.

Clear the cache

Request

Clears a specific cache using the cache name or clears all caches when the name is defined as all.

Note
We strongly recommend that you do not clear your caches during periods of high system load. This can temporarily degrade performance and increase response times for some users.

Security
OAuth2.0
Path
namestringrequired

The name of the cache to clear. Use all to clear all caches.

curl -i -X DELETE \
  'https://your-server/api/cache/{name}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Cache was successfully cleared