All Products
Search
Document Center

CloudMonitor:DeleteEventRuleTargets

Last Updated:Mar 18, 2024

Deletes the push channels of an event-triggered alert rule.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RuleNamestringYes

The name of the event-triggered alert rule.

For information about how to obtain the name of an event-triggered alert rule, see DescribeEventRuleList .

testRule
IdsarrayYes

The IDs of event-triggered alert rules.

stringYes

The ID of the event-triggered alert rule.

10

Response parameters

ParameterTypeDescriptionExample
object
Codestring

The response code.

Note The status code 200 indicates that the request was successful.
200
Messagestring

The returned message.

Success
RequestIdstring

The request ID. You can use the request ID to query logs and troubleshoot issues.

7ADD7EFB-7555-4EC1-A3D9-F9955C189CCF
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true

Examples

Sample success responses

JSONformat

{
  "Code": "200",
  "Message": "Success",
  "RequestId": "7ADD7EFB-7555-4EC1-A3D9-F9955C189CCF",
  "Success": true
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParameterValueIllegal parameters.Illegal parameters.
403InvalidAuthorizationPermission deniedPermission denied.
500InternalErrorThe request processing has failed due to some unknown error.-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history