Policy Cache Diagnostics Refresh Cache

put

/iam/access/diag/api/v1/policycache/refresh

Refresh server policy cache.

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : PolicyCacheRefreshData
Type: object
Show Source

401 Response

Not authorized.

422 Response

Unprocessable Entity
Body ()
Root Schema : PolicyCacheRefreshData
Type: object
Show Source

424 Response

Failed Dependency
Body ()
Root Schema : PolicyCacheRefreshData
Type: object
Show Source

Default Response

Unexpected error
Back to Top

Examples

This example demonstrates the refresh server policy cache.

cURL Example

curl -X PUT http://<host>:<port>/iam/access/diag/api/v1/policycache/refresh -H 'authorization: Basic d2VibG9naWM6d2VibG9naWMx' -H 'content-type: application/x-www-form-urlencoded' 

Example of Response Body

The following example shows the contents of the response body in JSON format.

{ "serverName": "oam_server1", "policyCacheVersion": "2239", "refreshRequestTime": "2018-05-03T22:51:25.091-07:00", "responseCode": "SUCCESS" } 
Back to Top