You can call the DeleteVServerGroup API to delete VServer groups.

Debug

Perform a debug in OpenAPI Explorer. We recommend that you use OpenAPI Explorer. By using OpenAPI Explorer, you can call APIs, generate SDK code examples automatically, and search APIs, allowing you to quickly and easily get started with using APIs on the cloud.

Request parameters

Name Type Required? Example value Description
Action String Yes DeleteVServerGroup

The action to perform. Valid value: DeleteVServerGroup

RegionId String Yes cn-hangzhou

The ID of the region to which the SLB instance belongs

VServerGroupId String Yes rsp-cige6j5e7p

The ID of the VServer group.

Note

If the VServer group is in use, it cannot be deleted.

Response parameters

Name Type Example value Description
RequestId String 9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C

The ID of the request

Examples

Request example


/? Action=DeleteVServerGroup
&RegionId=cn-hangzhou
&VServerGroupId=rsp-cige6j5e7p
&<CommonParameters>

Normal response examples

XML format

<DeleteVServerGroupResponse>
  <RequestId>9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C</RequestId>
</DeleteVServerGroupResponse>

JSON format

{
	"RequestId":"9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C"
}

Error codes

Click here to view the error codes.