Web API Reference Guide > Available API Methods > Page Cache Methods > The pagecacheClearRulesCache Method

The pagecacheClearRulesCache Method

Clear all cached items for a specific rule ids (multiple).

Version: 1.4

Required Permissions: Full

HTTP method: POST

Supported by Editions: Zend Server

Request Parameters:  

Parameter

 Type

Required

Description

rules

Array

No

List of rule ids

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/pagecacheClearRulesCache

Response

<?xml version="1.0" encoding="UTF-8"?>

<zendServerAPIResponse xmlns="http://www.zend.com/server/api/0">

<requestData>

<apiKeyName><![CDATA[Admin]]></apiKeyName>

<method>pagecacheClearRulesCache</method>

</requestData>

<responseData>

</responseData>

</zendServerAPIResponse>

 

Read Also

  Available API Methods    
  Page Cache Methods