You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
Cloud assistant
UninstallCloudAssistants - Uninstalls cloud assistant Agent
Copy page
Download PDF
UninstallCloudAssistants - Uninstalls cloud assistant Agent
Call the UninstallCloudAssistants operation to uninstall the cloud assistant Agent from ECS instances.​
Debugging​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
Only the request parameters specific to this operation and some common parameters are listed below. For more information, refer to Common parameters.​
Action string required Sample value: UninstallCloudAssistants​
The action that you want to perform. Value: UninstallCloudAssistants.​
​
Version string required Sample value: 2020-04-01​
The version of the API. Valid value: 2020-04-01.​
​
InstanceIds.N string[] required Sample value: InstanceIds.1=i-ervasv*****&InstanceIds.2=i-uihrdgh*****​
The instance ID. Up to 50 instance IDs are supported. You can call the DescribeInstances operation to query and obtain the instance ID.​
  • Argument - N: specifies the serial number of the instance.​
  • Separate multiple instance IDs with ampersands (&).​
​
​
​
Response parameters​
Only the response parameters specific to this operation are listed below. For more information, refer to the response structure.​
UninstallingInstanceIds string[] Sample value: \["i-ycm4ru8\*\*\*\*","i-yclwwbhblsggsw5\*\*\*\*" \]​
The ID list of instances for which uninstallation requests are successfully submitted.​
​
FailedInstances object[] Sample value: --​
The information about instances that meet the conditions and for which uninstallation failed.​
Id string Sample value: i-yci89z1gpml8j1\*\*\*\*​
The ID of the instance for which the installation fails.​
​
ErrorMessage string Sample value: --​
The failure information.​
​
​
​
​
Sample request​
​
GET /?Action=UninstallCloudAssistants&Version=2020-04-01&IntanceIds.1=i-ervasv***** HTTP/1.1​
Host: ecs.cn-beijing.volcengineapi.com​
Region: cn-beijing​
Service: ecs​
​
​
​
GET /?Action=UninstallCloudAssistants&Version=2020-04-01&IntanceIds.1=i-ervasv***** HTTP/1.1​
Host: ecs.cn-beijing.volcengineapi.com​
Region: cn-beijing​
Service: ecs​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "202308301A86D*******",​
"Action": "UninstallCloudAssistants",​
"Version": "2020-04-01",​
"Service": "ecs",​
"Region": "cn-beijing"​
},​
"Result": {​
"UninstallingInstanceIds": [​
"i-ervasv*****"​
],​
"FailedInstances": []​
}​
}​
​
Error codes​
The table below lists the business-related error codes of the operation. For more information, refer to Common error codes.​
​
Status code​
Error code​
Error message​
Description​
400​
MissingParameter.AccountId​
The required parameter AccountId is not supplied.​
The user ID cannot be empty.​
400​
MissingParameter.InstanceIds​
The required parameter InstanceIds is not supplied.​
The instance ID cannot be empty.​
400​
LimitExceeded.MaximumInstanceIds​
The specified InstanceIds exceeds the limit.​
The number of instances exceeds the limit.​
400​
InvalidInstanceIds.Conflict​
InvalidInstanceIds.Conflict​
Duplicate instance IDs are passed in​
500​
InternalError​
An internal error has occurred.​
An internal error occurred. Try again. If multiple attempts fail, submit a ticket.​
​
​
Last updated: 2026.06.18 17:48:26