Disables one-click alert for a service.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DisableActiveMetricRule |
The operation that you want to perform. Set the value to DisableActiveMetricRule. |
Product | String | Yes | ecs |
The service for which you want to disable one-click alert. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | String | 200 |
The HTTP status code. Note The status code 200 indicates that the call was successful.
|
Message | String | The Request is not authorization. |
The returned message. |
RequestId | String | F82E6667-7811-4BA0-842F-5B2DC42BBAAD |
The ID of the request. |
Success | Boolean | true |
Indicates whether the call was successful. Valid values:
|
Examples
Sample requests
http(s)://[Endpoint]/? Action=DisableActiveMetricRule
&Product=ecs
&<Common request parameters>
Sample success responses
XML
format
<DisableActiveMetricRuleResponse>
<Code>200</Code>
<Success>true</Success>
<RequestId>55850888-9CCE-4FD5-B949-5F8947D63929</RequestId>
</DisableActiveMetricRuleResponse>
JSON
format
{
"Code": "200",
"Success": true,
"RequestId": "55850888-9CCE-4FD5-B949-5F8947D63929"
}
Error codes
For a list of error codes, visit the API Error Center.