Delete Alert Rule

 

Updated: July 10, 2015

The Delete Alert Rule operation deletes the specified alert rule.

The Delete Alert Rule request may be specified as follows. Replace <subscription-id> with the subscription ID, <rule-id> with the identifier of the alert rule. You can obtain the identifier of an alert rule by using List Alert Rules.

Method

Request URI

DELETE

https://management.core.windows.net/<subscription-id>/services/monitoring/alertrules/<rule-id> HYPERLINK "https://monitoring.management.core.windows.net/%3csubscription-id%3e/services/monitoring/alert/rules"

You must make sure that the request that is made to the management service is secure. For additional details, see Authenticating Service Management Requests.

The following table describes the request headers.

Request Header

Description

Accept

Required. Set this header to application/json.

x-ms-version

Required. Specifies the version of the operation to use for this request. This header must be set to 2013-10-01 or higher. For more information about versioning headers, see Service Management Versioning.

The response includes an HTTP status code, a set of response headers, and a response body.

A successful operation returns status code 200 (OK). For information about status codes, see Service Management Status and Error Codes.

The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers conform to the HTTP/1.1 protocol specification.

Response Header

Description

x-ms-request-id

A value that uniquely identifies a request made against the management service.

You can also use the classic portal to delete alert rules. For more information, see How to: Receive Alert Notifications and Manage Alert Rules in Azure.

Show: