Deletes a primary/secondary server group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
slb:DeleteMasterSlaveServerGroup |
delete |
*loadbalancer
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the Server Load Balancer (SLB) instance. |
cn-hangzhou |
| MasterSlaveServerGroupId |
string |
Yes |
The primary/secondary server group ID. Note
You cannot delete a primary/secondary server group that is in use. |
rsp-cige6****** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C |
Examples
Success response
JSON format
{
"RequestId": "9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C"
}
Error response
JSON format
{"Code":"InvalidParameter","Message":"The specified parameter is not valid.","HostId":"slb-pop.aliyuncs.com","RequestId":"0669D684-69D8-408E-A4FA-B9011E0F4E66"}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RspoolVipExist | there are vips associating with this vServer group. | The specified virtual server group already has a listener bound. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.