Web API Reference Guide > Available API Methods > Notification Center Methods > The deleteNotification Method

The deleteNotification Method

Delete notification by type.

Version: 1.3

Required Permissions: Full

HTTP method: POST

Supported by Editions: All

Request Parameters:  

Parameter

 Type

Required

Description

type

String

Yes

One of types:

serverOffline, restartRequired, daemonOffline, phpExtDirectiveMismatch, phpExtNotLoaded, phpExtNotInstalled, zendExtDirectiveMismatch, zendExtNotLoaded, zendExtNotInstalled, deploymentFailure, deploymentUpdateFailure, deploymentRedeployFailure, deploymentHealthcheckFailure, deploymentRemoveFailure, deploymentRollbackFailure, deploymentDefineAppFailure, serverAddError, serverRemoveError, serverEnableError, serverDisableError, serverForceRemoveError, jobqueueHighConcurrency, serverRestarting, sessionClusteringWrongHandler, invalidLicense, licenseAboutToExpire, webserverNotResponding, maxServersInCluster, licenseAboutToExpire45, licenseAboutToExpire15, databaseConnectionRestored, sessionClusteringStdbyMode, zendServerDaemonOffline, sessionClusteringErrorMode

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

Response Format: None.

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

Example

Usage Example

Request

POST /ZendServer/Api/deleteNotificationtype=phpRestart

Response

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

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

<requestData>

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

<method>deleteNotification</method>

</requestData>

<responseData>

</responseData>

</zendServerAPIResponse>

 

Read Also

  Available API Methods    
  Notification Center Methods