Stops the process of a running cloud assistant command on one or more ECS instances.


  • If you stop the process of a one-time invocation command, the invocations that have already started are not interrupted. Invocations that have not started are canceled.
  • If you stop the process of a periodic invocation command, the invocations that have already started are not interrupted. However, the invocation does not start in the next period.


You can use API Explorer to perform debugging. API Explorer allows you to perform various operations to simplify API usage. For example, you can retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Name Type Required Example Description
InvokeId String Yes t-7d2a745b412b4601b2d47f6a768d3a14

The invocation ID of the command process. You can call DescribeInvocations to view all the invocation IDs.

RegionId String Yes cn-hangzhou

The ID of the region. You can call DescribeRegions to view the latest regions of Alibaba Cloud.

Action String No StopInvocation

The operation that you want to perform. Set the value to StopInvocation.

InstanceId.N RepeatList No i-uf614fhehhzmxdqx

The list of instances where the command needs to be stopped. You can specify up to 50 instance IDs in each request. Valid values of N: 1 to 50.

Response parameters

Name Type Example Description
RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

The ID of the request.


Sample requests
&<Common request parameters>

Successful response examples

XML format


JSON format


Error codes

HTTP status code Error code Error message Description
500 InternalError.Dispatch An error occurred when you dispatched the request. The error message returned when an unknown error occurs.
404 InvalidInvokeId.NotFound The specified invoke ID does not exist. The error message returned when the specified InvokeId parameter does not exist.

View error codes