Web API Reference Guide > Available API Methods > Statistics Methods > The statisticsClearData Method

The statisticsClearData Method

Clear all statistics data.

Version: 1.3

Required Permissions: Full

HTTP method: POST

Supported by Editions: All

Request Parameters:  None.

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

Response Type: Empty.

Possible Action Specific Error Codes: This action has no specific error codes.

Example

Usage Example

Request

GET /ZendServer/Api/statisticsClearData

Repsonse

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

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

<requestData>

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

<method>clearCache</method>

</requestData>

</zendServerAPIResponse>

 

 

Read Also

  Available API Methods    
  Statistics Methods