The pagecacheClearCacheByRuleName Web API Method

Clear all cached items for a specific rule.

Version: 1.3

Required Permissions: Full

HTTP method: POST

Supported by Editions: Zend Server

Request Parameters:  

Parameter

 Type

Required

Description

ruleName

String

Yes

Rule name

uri

srting

No

URI (added in 1.5)

Expected Response Code: 200 OK. For more information see Response Format.

Possible Action Specific Error Codes:

HTTP Code

Error Code

Description

500

internalServerError

Retrieving the rule failed due to an internal problem

Example

Usage Example

Request

GET /ZendServer/Api/pagecacheClearCacheByRuleName

Response

<?xml version="1.0" encoding="UTF-8"?>
<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.3">
	<requestData>
		<apiKeyName><![CDATA[Admin]]></apiKeyName>
		<method>pagecacheClearCacheByRuleName</method>
	</requestData>
	<responseData>
	</responseData>
</zendServerAPIResponse>