Domain name for API request: cls.tencentcloudapi.com.
This API is used to delete an alarm blocking rule.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DeleteAlarmShield. |
Version | Yes | String | Common Params. The value used for this API: 2020-10-16. |
Region | No | String | Common Params. This parameter is not required for this API. |
TaskId | Yes | String | Blocking rule ID. |
AlarmNoticeId | Yes | String | Notification channel group ID. |
Parameter Name | Type | Description |
---|---|---|
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to delete an alarm blocking rule.
POST / HTTP/1.1
Host: cls.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DeleteAlarmShield
<Common request parameters>
{
"TaskId": "bb42f112-a74d-456e-b3c4-ff5472911b42",
"AlarmNoticeId": "notice-bb42f112-a74d-456e-b3c4-ff5472911b42"
}
{
"Response": {
"RequestId": "1142f112-a74d-456e-b3c4-ff5472911b11"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
FailedOperation | Operation failed. |
FailedOperation.Timeout | Operation timed out |
InternalError | Internal error. |
InvalidParameter | Incorrect parameter. |
InvalidParameter.AlarmNoticeConflict | The alarm notification template already exists. |
MissingParameter | Missing parameter. |
OperationDenied.AccountDestroy | The account has been terminated. |
OperationDenied.AccountIsolate | The account has overdue payments. |
OperationDenied.AccountNotExists | The account does not exist. |
문제 해결에 도움이 되었나요?