Clear Cache

delete

/ccs/{cacheName}

Clears the specified cache.

Request

Path Parameters
cacheName
Type: string
Required: true
Name of cache

Response

204 Response
Successful response

Examples

The following example shows how to clear an Oracle Application Cloud Service cache by submitting a DELETE request on the REST resource using Java code. For the full application, see Sample Application.

Response deleteCacheResponse = target
        .path(CACHE_NAME)
        .request()
        .delete();

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 204 No Content 
Content-Type: application/octet-stream 
Date: Wed, 04 Jan 2017 16:45:29 GMT 
Content-Length: 0