Web API Reference Guide > Available API Methods > Filter Methods > The filtersDelete Method

The filterDelete Method

Delete a filter.

Version: 1.3

Required Permissions: Full

HTTP method: POST

Supported by Editions: Zend Server

Request Parameters:

Parameter

 Type

Required

Description

name

String

Yes

Name of filter.

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

Possible Action Specific Error Codes: None.

Example

Usage Example

Request

POST /ZendServer/Api/filterDelete

name=MyFilter

Response

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

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

<requestData>

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

<method>filterDelete</method>

</requestData>

<responseData>

<filters>

<filter>

<id>3</id>

<name><![CDATA[ErrorsIssues]]</name>

<type>issue</type>

<custom>0</custom>

<data>{"statuses":[],"severities":["critical"],"eventTypes":["request-large-mem-usage","jq-job-exec-delay"]}</data>

</filter>

</filters>

</responseData>

<zendServerAPIResponse>

 

Read Also

  Available API Methods    
  Filter Methods