Deletes an alert group.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteContactGroup

The operation that you want to perform. Set the value to DeleteContactGroup.

ContactGroupName String Yes My alert group

The name of the alert 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 success

The returned message.

RequestId String F722BE59-2400-4A64-9C1A-AD886AED9A69

The ID of the request.

Success Boolean true

Indicates whether the call was successful. The value true indicates a success. The value false indicates a failure.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DeleteContactGroup
&ContactGroupName=My alert group
&<Common request parameters>

Sample success responses

XML format

<DeleteContactGroupResponse>
      <RequestId>F722BE59-2400-4A64-9C1A-AD886AED9A69</RequestId>
      <Success>true</Success>
      <Code>200</Code>
</DeleteContactGroupResponse>

JSON format

{
  "RequestId": "F722BE59-2400-4A64-9C1A-AD886AED9A69",
  "Success": true,
  "Code": "200"
}

Error codes

For a list of error codes, visit the API Error Center.