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
- application/json
Path Parameters
-
modelVarName(required): string
The variable name of a Model
-
prodFamVarName(required): string
The variable name of a Product Family
-
prodLineVarName(required): string
The variable name of a Product Line
Root Schema : dropCacheRequest
Type:
Show Source
object
-
cacheInstanceId(required):
string
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.
Response
Supported Media Types
- application/json
Default Response
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" }