Web API Reference Guide > Available API Methods > Monitor Methods > The monitorDeleteIssues Method

The monitorDeleteIssues Method

Delete monitor issues based on issueIds passed. Response returns the amount of issues that were deleted. Note though, that as this method only marks the issues for deletion, subsequent calls with the same parameters will return the same size of issues deleted rather than expected 0.

Version: 1.3

Required Permissions: Full

HTTP method: POST

Supported by Editions: Zend Server

Request Parameters:

Parameter

 Type

Required

Description

issuesIds

array

Yes

The issue IDs to delete

Response Format: 202 Accepted. For more information see Response Format.

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

Example

Usage Example

Request (headers removed for the purpose of clarity)

POST /ZendServerManager/Api/monitorDeleteIssues

Content-type: application/x-www-form-urlencoded

issuesIds[0]=21&issuesIds[0]=22

Response (not all headers are shown)

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

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

<requestData>

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

<method>monitorDeleteIssuesAction</method>

</requestData>

<responseData>

<szDeleted>2</szDeleted>

</responseData>

</zendServerAPIResponse>

 

Read Also

  Available API Methods    
  Monitor Methods