Deletes a server group.

The Default server group that is provided by Security Center cannot be deleted. After you delete a group, the assets in this group are moved to the Default group.


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

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteGroup

The operation that you want to perform.

Set the value to DeleteGroup.

GroupId Long Yes 9454789

The ID of the server group that you want to delete.

Note To delete a server group, you must provide the ID of the server group. You can call the DescribeAllGroups operation to query the ID.
SourceIp String No

The source IP address of the request.

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

Parameter Type Example Description
RequestId String 7E0618A9-D5EF-4220-9471-C42B5E92719F

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "0F253382-99ED-4EE5-839E-88843BFB320E"

Error codes

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