Clear Cache

delete

/PASJava/service/caches

Clear cache to reflect updated configuration in the OIPA application.

Request

Header Parameters
  • For basic Authentication, the ClientNumber (Username) is sent in the HTTPS header request along with PersonalId as a string in Bit64 Encryption.
  • For basic Authentication, the PersonalId (Password) is sent in the HTTPS header request along with ClientNumber as a string in Bit64 Encryption.
Back to Top

Response

200 Response

This operation deletes cache successfully.

401 Response

The server denied access to the resource. Please contact the System Administrator. This message appears when authentication is not provided in the Rules Palette.

403 Response

Authentication refused for invalid credentials or the token is invalid.
Back to Top

Examples

This example describes how to delete caches.

Example cURL Command

Use the following cURL command to submit a response on the REST resource:

curl -X DELETE \ 
     -H "Accept: application/json" \
     -H "Content-Type: application/json" \
     -H "userName: username" \
     -H "password: password" \
     -L "http://host:port/PASJava/service/caches"

Example Response Body

The following shows an example of the response body in JSON format for 200 Response:

{
    "message": "Cache Deleted Successfully"
}

Example Response Body

The following shows an example of the response body in JSON format for 401 Response:

{
    "message": "The server denied access to the resource. Please contact System Adminstator"
}

Example Response Body

The following shows an example of the response body in JSON format for 403 Response:

{
    "message": "Invalid Credentials"
}
Back to Top