The cacheClear Web API Method
Clear cache data of a specified component.
Version: 1.3
Required Permissions: Read-only
HTTP method: POST
Supported by Editions: All
Request Parameters:
Parameter |
Type |
Required |
Description |
component |
String |
Yes |
One of 'Zend URL Tracking', ‘Zend Data Cache’, ‘Zend Page Cache’, ‘Zend OPcache’ |
Expected Response Code: 200 OK. For more information see Response Format.
Response Type: cacheClear
Possible Action Specific Error Codes: This action has no specific error codes
Example
|
RequestGET /ZendServer/Api/cacheClear Response<?xml version="1.0" encoding="UTF-8"?><zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.3"><requestData><apiKeyName><![CDATA[Admin]]></apiKeyName><method>cacheClear</method></requestData></zendServerAPIResponse> |