FRAMES | NO FRAMES | Description | Parameters | Response |
URL | http://<admin-url>/cache/clear |
---|
The clear REST cache operation. This operation explicitly clears the REST API cache immediately.
Clients need a security token to clear the REST cache. You can get a security token by using the Generate Admin Token operation.
Parameter | Details |
---|---|
f |
Description:
The response format. The default response format is html.
Values: html | json |
Example 1: Use security token generated using Generate Admin Token operation to clear the REST cache.
http://<host>/arcgis/rest/admin
/cache/clear?token=89dw7r0jfFDKWgDa7bZHVvttqiEv7sX7UnOH1oe_Mz-qqQ6oDg..&f=json
{
"success": true //the value will always be true. Failure will result in an error response.
}
{ "success": true }