Alert Processing Rules - Delete

Delete an alert processing rule.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}?api-version=2021-08-08

URI Parameters

Name In Required Type Description
alertProcessingRuleName
path True

string

The name of the alert processing rule that needs to be deleted.

resourceGroupName
path True

string

Resource group name where the resource is created.

subscriptionId
path True

string

The ID of the target subscription.

api-version
query True

api-version

Client API version.

Responses

Name Type Description
200 OK

Successful request to delete an alert processing rule.

Headers

x-ms-request-id: string

204 No Content

No content: the request was successful, but the response is empty.

Headers

x-ms-request-id: string

Other Status Codes

errorResponse

Error response describing why the operation failed.

Examples

DeleteAlertProcessingRule

Sample request

DELETE https://management.azure.com/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.AlertsManagement/actionRules/DailySuppression?api-version=2021-08-08

Sample response

Definitions

Name Description
api-version

Client API version.

errorResponse

An error response from the service.

errorResponseBody

Details of error response.

api-version

Client API version.

Name Type Description
2021-08-08

string

errorResponse

An error response from the service.

Name Type Description
error

errorResponseBody

Details of error response.

errorResponseBody

Details of error response.

Name Type Description
code

string

Error code, intended to be consumed programmatically.

details

errorResponseBody[]

A list of additional details about the error.

message

string

Description of the error, intended for display in user interface.

target

string

Target of the particular error, for example name of the property.