Removes instances from an application group.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteMonitorGroupInstances |
The operation that you want to perform. Set the value to DeleteMonitorGroupInstances. |
Category | String | Yes | ECS |
The abbreviation of the service name. Valid values:
|
GroupId | Long | Yes | 123456 |
The ID of the application group. |
InstanceIdList | String | Yes | i-a2d5q7pm3f912****,i-a2d5q7pm3f222**** |
The instances to be removed from the application group. Separate multiple instances with commas (,). You can remove a maximum of 20 instances from an application group at a time. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | Integer | 200 |
The HTTP status code. Note The status code 200 indicates that the call was successful.
|
Message | String | success |
The returned message. |
RequestId | String | 5351B0F2-26A9-4BC9-87FF-1B74034D12C3 |
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. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DeleteMonitorGroupInstances
&Category=ecs
&GroupId=123456
&InstanceIdList=i-a2d5q7pm3f912****,i-a2d5q7pm3f222****
&<Common request parameters>
Sample success responses
XML
format
<DeleteMonitorGroupInstancesResponse>
<RequestId>C5C6924C-237E-40B2-9510-41BF8F671102</RequestId>
<Success>true</Success>
<Code>200</Code>
</DeleteMonitorGroupInstancesResponse>
JSON
format
{
"RequestId": "C5C6924C-237E-40B2-9510-41BF8F671102",
"Success": true,
"Code": 200
}
Error codes
For a list of error codes, visit the API Error Center.