Operation description
Note
This API operation is not applicable to ECS instances. To uninstall the agent from an ECS instance, see Install and uninstall the Cloud Monitor agent.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceId | string | Yes | The ID of the host. | host-**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "200",
"Message": "Successfully",
"RequestId": "466902B9-2842-40B0-B796-00FE772B6EF3",
"Success": true
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ParameterInvalid | Illegal parameters. | - |
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. |
412 | AgentStateError | Expected agent running state is stopped. | - |
500 | InternalError | %s | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2023-07-14 | The Error code has changed | see changesets | ||||||||||||
|