Deletes an application 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 DeleteMonitorGroup

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

GroupId Long Yes 123456

The ID of the application group.

Response parameters

Parameter Type Example Description
RequestId String CA35B3AE-4FFD-4A33-AE67-67EF68711EFA

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.

Message String The Request is not authorization.

The returned message.

Code Integer 200

The HTTP status code.

Note The status code 200 indicates that the call was successful.
Group Struct N/A

The deleted application group.

ContactGroups Array N/A

The alert groups that receive alert notifications for the application group.

ContactGroup N/A N/A N/A
Name String ECS_Group

The name of the alert group.

GroupName String ECS_test

The name of the application group.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DeleteMonitorGroup
&GroupId=123456
&<Common request parameters>

Sample success responses

XML format

<DeleteMonitorGroup>
          <Group>
                <GroupName>ECS_test</GroupName>
                <ContactGroups>
                      <ContactGroup>
                            <Name>ECS_Group</Name>
                      </ContactGroup>
                </ContactGroups>
          </Group>
          <RequestId>EFB8C3EC-3460-4EC9-8603-A9FE9D0A6C2C</RequestId>
          <Code>200</Code>
          <Success>true</Success>
</DeleteMonitorGroup>

JSON format

{
    "Group": {
        "GroupName": "ECS_test",
        "ContactGroups": {
            "ContactGroup": [
                {
                    "Name": "ECS_Group"
                }
            ]
        }
    },
    "RequestId": "EFB8C3EC-3460-4EC9-8603-A9FE9D0A6C2C",
    "Code": 200,
    "Success": true
}

Error codes

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