All Products
Search
Document Center

CloudMonitor:DisableMetricRules

Last Updated:Mar 01, 2024

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
RuleIdarrayYes
stringYes

The ID of the alert rule. Valid values of N: 1 to 20.

Response parameters

ParameterTypeDescriptionExample
object
Codestring

The HTTP status code.

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

The error message.

RuleId is mandatory for this action.
RequestIdstring

The ID of the request.

FF38D33A-67C1-40EB-AB65-FAEE51EDB644
Successboolean

Indicates whether the call was successful. Valid values:

  • true: The call was successful.
  • false: The call failed.
true

Examples

Sample success responses

JSONformat

{
  "Code": "200",
  "Message": "RuleId is mandatory for this action.",
  "RequestId": "FF38D33A-67C1-40EB-AB65-FAEE51EDB644",
  "Success": true
}

Error codes

HTTP status codeError codeError message
400%s%s
401AccessDeniedExceptionYou donot have sufficient access to perform this action.
402LimitExceededThe quota for this customer had been reached.
429Throttli∂ngExceptionThe request was denied due to request throttling.
500InternalErrorThe request processing has failed due to some unknown error.

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