cleardatacaches (Release 9.2.3.4)

API Name

cleardatacaches

Description

Provides the functionality to clear Form Extension, Personalized Form and Search Group caches in case of an HTML server. Clears Orchestration and Notification, Form Service and Data Service, and Read Data caches in the case of an AIS server.

REST Methods

DELETE

Precondition

Server Manager Console must be running.

Managed AIS and HTML server instances must be running.

Managed AIS and HTML server runtime metrics should be working.

Input Params

instanceName - Name of the managed instance.

and

targetType - Target type of the managed instance (either the REST server for the AIS server or the webserver for the HTML server).

Note: Use these parameters as part of the query parameter in the request.

Sample Request

?instanceName=Jas8080&targetType=webserver

Return

HTTP OK or HTTP FORBIDDEN (no body).

Sample Response

Exception

Throws an exception if the managed instance is not running or if the managed instance name is not valid. Check the Server Manager Console, AIS server or HTML server logs for more details. When you run the managed instances by using the targetType, ensure that the preconditions are met for each of the managed instances of REST server or webserver against which the API is run.