You can call this operation to delete a server 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 DeleteGroup

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

GroupId Long Yes 11111

The ID of the server group.

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

The source IP address of the request.

Response parameters

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

The ID of the request.

Examples

Sample requests


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

Sample success responses

XML format

<DeleteGroup>
	  <code>200</code>
	  <requestId>7E0618A9-D5EF-4220-9471-C42B5E92719F</requestId>
	  <success>true</success>
    </DeleteGroup>

JSON format

{
	"requestId":"7E0618A9-D5EF-4220-9471-C42B5E92719F",
	"code":200,
	"success":true
}

Error codes

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