9.6.3. Removing Data Using REST
To remove data from Red Hat JBoss Data Grid using the REST interface, use the HTTP
DELETE
method to retrieve data from the cache. The DELETE
method can:
- Remove a cache entry/value. (
DELETE /{cacheName}/{cacheKey}
) - Remove all entries from a cache. (
DELETE /{cacheName}
)
9.6.3.1. About DELETE /{cacheName}/{cacheKey}
Used in this context (
DELETE /{cacheName}/{cacheKey}
), the DELETE
method removes the key/value from the cache for the provided key.