Deletes an alert rule of Prometheus Service.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeletePrometheusAlertRule

The operation that you want to perform. Set the value to DeletePrometheusAlertRule.

AlertId Long Yes 3888704

The ID of the alert rule.

Response parameters

Parameter Type Example Description
RequestId String 9FEA6D00-317F-45E3-9004-7FB8B0B7****

The ID of the request.

Success Boolean true

Indicates whether the request is successful. Valid values:

  • true: The alert rule was deleted.
  • false: The request failed.


Sample requests

&<Common Request Parameters>

Sample success responses

XML format


JSON format

    "RequestId": "9FEA6D00-317F-45E3-9004-7FB8B0B7****",
    "Success": true