Deletes a policy that is used to pause alert notifications for a specified application group.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteMonitorGroupNotifyPolicy |
The operation that you want to perform. Set the value to DeleteMonitorGroupNotifyPolicy. |
PolicyType | String | Yes | PauseNotify |
The type of the policy. Valid value: PauseNotify. |
GroupId | String | No | 6780**** |
The ID of the application group. |
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 error message. |
RequestId | String | B7AF834D-D38B-4A46-920B-FE974EB7E135 |
The ID of the request. |
Result | Integer | 1 |
The number of policies that were deleted. |
Success | String | true |
Indicates whether the call was successful. Valid values:
|
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteMonitorGroupNotifyPolicy
&PolicyType=PauseNotify
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteMonitorGroupNotifyPolicyResponse>
<Result>1</Result>
<Success>true</Success>
<Code>200</Code>
</DeleteMonitorGroupNotifyPolicyResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"Result" : 1,
"RequestId" : "5D0D3910-5B01-4868-A2F2-A5DEA7F5150E",
"Success" : true,
"Code" : 200
}
Error codes
For a list of error codes, visit the API Error Center.