All Products
Search
Document Center

CloudMonitor:DeleteMonitorGroupInstances

Last Updated:Mar 18, 2024

Removes instances from an application group.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
GroupIdlongYes

The ID of the application group.

123456
InstanceIdListstringYes

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****
CategorystringYes

The abbreviation of the cloud service name.

Note For more information about how to obtain the abbreviation of a cloud service name, see metricCategory in the response parameter Labels of the DescribeProjectMeta operation.
ecs

Response parameters

ParameterTypeDescriptionExample
object
Codeinteger

The HTTP status code.

Note The status code 200 indicates that the request was successful.
200
Messagestring

The returned message.

success
RequestIdstring

The request ID.

5351B0F2-26A9-4BC9-87FF-1B74034D12C3
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true

Examples

Sample success responses

JSONformat

{
  "Code": 200,
  "Message": "success",
  "RequestId": "5351B0F2-26A9-4BC9-87FF-1B74034D12C3",
  "Success": true
}

Error codes

HTTP status codeError codeError messageDescription
400ParameterInvalidIllegal parameters.-
403AccessForbiddenUser not authorized to operate on the specified resource.-
404ResourceNotFoundThe specified resource is not found.The specified resource is not found.
500InternalErrorThe request processing has failed due to some unknown error.-

For a list of error codes, visit the Service error codes.