Removes instances from an application group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DeleteMonitorGroupInstances |
delete |
*MonitorGroupInstances
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
integer |
Yes |
The ID of the application group. |
123456 |
| InstanceIdList |
string |
Yes |
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. |
i-a2d5q7pm3f912****,i-a2d5q7pm3f222**** |
| Category |
string |
Yes |
The abbreviation of the cloud service name. Note
For more information about how to obtain the abbreviation of a cloud service name, see |
ecs |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The HTTP status code. Note
The status code 200 indicates that the request was successful. |
200 |
| Message |
string |
The returned message. |
success |
| RequestId |
string |
The request ID. |
5351B0F2-26A9-4BC9-87FF-1B74034D12C3 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "5351B0F2-26A9-4BC9-87FF-1B74034D12C3",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.