Drop Cache

post

/rest/v16/config{prodFamVarName}.{prodLineVarName}.{modelVarName}/actions/_dropCache

This operation eliminates the cache configuration data created by Configuration REST services. Drop Cache can improve site performance by removing cached objects that would otherwise remain in memory for the duration of the timeout specified in administration.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : dropCacheRequest
Type: object
Show Source
  • Title: Cache Instance Id
    The unique identifier for the entry of configuration data stored in the cache. This is obtained from actions that launch configuration and passed along in subsequent actions.
Back to Top

Response

Supported Media Types

Default Response

Back to Top

Examples

The following example shows how to eliminate the cache configuration data created by Configuration REST services by submitting a POST request to the REST resource using cURL.

curl -X POST -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16/configvarioTablets.tablets.customTablet/actions/_dropCache

Request Body Sample

{
  "cacheInstanceId": "y4ZJbMg6wxjnb6xdm33VPvtmtCx2WBBufU0naDHe75u4OBF4zCLOFPNs2dOtHEfr"
}
         
Back to Top