Web Sessions 4.3.7 | Terracotta REST Developer Guide | Specifications for HTTP Operations | Examples of URIs | DELETE
 
DELETE
Clears a cache, or clears cache statistics.
The following DELETE examples are organized by task and URI.
Clear a Cache
/agents;id=client01/cacheManagers;names=foo/caches;names=bar/elements
Removes the elements from the cache "bar" of CacheManager "foo" on the Ehcache node "client01".
Clear Cache Statistics
/agents;id=client01/cacheManagers;names=foo/caches;names=bar/configs
Clears all cache statistics for cache "foo" and resets counters to zero.
Possible HTTP Status Codes for DELETE
400 – URI does not specify a single resource.
404 – Resource specified in the URI cannot be found.

Copyright © 2010-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.